Skip to content

Commit

Permalink
updates for migration sql
Browse files Browse the repository at this point in the history
  • Loading branch information
avikdatta committed Apr 4, 2023
1 parent ab439ac commit eff4df5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions migrations/sql/project_data_db_migrate_for_portal.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ ALTER TABLE raw_seqrun ADD COLUMN trigger_time TIMESTAMP NULL;

ALTER TABLE raw_seqrun ADD COLUMN run_config LONGTEXT;

ALTER TABLE raw_seqrun MODIFY COLUMN status ENUM("ACTIVE", "REJECTED", "PREDEMULT", "READY", "FINISHED") NOT NULL DEFAULT 'ACTIVE';

ALTER TABLE sample_index ADD FOREIGN KEY(project_index_id) REFERENCES project_index (project_index_id) ON DELETE SET NULL ON UPDATE CASCADE;

UPDATE alembic_version SET version_num='a38c16db0e8d' WHERE alembic_version.version_num = '78b82238be89';
Expand Down

0 comments on commit eff4df5

Please sign in to comment.