File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
migrations/2019-08-28-224353_remove_licenses_column_from_crates Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change
1
+ -- This file should undo anything in `up.sql`
2
+ ALTER TABLE crates ADD COLUMN license VARCHAR ;
Original file line number Diff line number Diff line change
1
+ -- ALERT! DESTRUCTIVE MIGRATION
2
+ -- DO NOT DEPLOY UNTIL PREVIOUS COMMIT IS DEPLOYED
3
+ ALTER TABLE crates DROP COLUMN license;
Original file line number Diff line number Diff line change @@ -332,12 +332,6 @@ table! {
332
332
///
333
333
/// (Automatically generated by Diesel.)
334
334
textsearchable_index_col -> Tsvector ,
335
- /// The `license` column of the `crates` table.
336
- ///
337
- /// Its SQL type is `Nullable<Varchar>`.
338
- ///
339
- /// (Automatically generated by Diesel.)
340
- license -> Nullable <Varchar >,
341
335
/// The `repository` column of the `crates` table.
342
336
///
343
337
/// Its SQL type is `Nullable<Varchar>`.
You can’t perform that action at this time.
0 commit comments