Skip to content

Commit

Permalink
Fix downgrade queries
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Jun 7, 2020
1 parent 189e6cd commit 9b5d200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/db/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ pub fn migrate(version: Option<Version>, conn: &Connection) -> CratesfyiResult<(
);",
// downgrade query
"DROP TABLE compression_rels;
ALTER TABLE files DROP COLUMN compression;
DROP TABLE compression;",
),
];
Expand Down

0 comments on commit 9b5d200

Please sign in to comment.