Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sessions): separate migration script for populating the project sessions table #5612

Merged
merged 6 commits into from
Dec 4, 2024

Conversation

RogerHYang
Copy link
Contributor

@RogerHYang RogerHYang commented Dec 4, 2024

Example Usage

Set environment variable

export PHOENIX_SQL_DATABASE_URL=sqlite:////phoenix.db

Run alembic

cd src/phoenix/db/
alembic upgrade head

Run script

python migrations/data_migration_scripts/populate_project_sessions.py

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 4, 2024
@RogerHYang RogerHYang changed the title fix: separate migration script for populating the project sessions table fix(sessions): separate migration script for populating the project sessions table Dec 4, 2024
Copy link
Contributor

@mikeldking mikeldking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @RogerHYang ! maybe we put this in the MIGRATION.md so we can always link to it

@RogerHYang RogerHYang merged commit f8154ed into sessions2 Dec 4, 2024
26 checks passed
@RogerHYang RogerHYang deleted the data-migration-script branch December 4, 2024 23:25
RogerHYang added a commit that referenced this pull request Dec 9, 2024
RogerHYang added a commit that referenced this pull request Dec 9, 2024
RogerHYang added a commit that referenced this pull request Dec 9, 2024
RogerHYang added a commit that referenced this pull request Dec 9, 2024
mikeldking pushed a commit that referenced this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants