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

Add Distribution model #308

Merged
merged 2 commits into from
Aug 11, 2024
Merged

Add Distribution model #308

merged 2 commits into from
Aug 11, 2024

Conversation

jonathan-d-zhang
Copy link
Contributor

up migration

INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Generating static SQL
INFO  [alembic.runtime.migration] Will assume transactional DDL.
BEGIN;
INFO  [alembic.runtime.migration] Running upgrade 587c186d91ee -> a62a93704798, add distributions
-- Running upgrade 587c186d91ee -> a62a93704798
ALTER TABLE scans RENAME files TO distributions;
UPDATE alembic_version SET version_num='a62a93704798' WHERE alembic_version.version_num = '587c186d91ee';
COMMIT;

down migration

INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Generating static SQL
INFO  [alembic.runtime.migration] Will assume transactional DDL.
BEGIN;
INFO  [alembic.runtime.migration] Running downgrade a62a93704798 -> 587c186d91ee, add distributions
-- Running downgrade a62a93704798 -> 587c186d91ee
ALTER TABLE scans RENAME distributions TO files;
UPDATE alembic_version SET version_num='587c186d91ee' WHERE alembic_version.version_num = 'a62a93704798';
COMMIT;

@jonathan-d-zhang jonathan-d-zhang requested review from a team as code owners August 11, 2024 12:48
@jonathan-d-zhang jonathan-d-zhang self-assigned this Aug 11, 2024
@jonathan-d-zhang jonathan-d-zhang merged commit f741aa8 into main Aug 11, 2024
7 checks passed
@jonathan-d-zhang jonathan-d-zhang deleted the distro-download-url branch August 11, 2024 17:24
jonathan-d-zhang added a commit that referenced this pull request Aug 27, 2024
This reverts commit f741aa8, reversing
changes made to 5d2d481.
jonathan-d-zhang added a commit that referenced this pull request Aug 27, 2024
This reverts commit f741aa8, reversing
changes made to 5d2d481.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants