This commit is contained in:
Hachi-R 2024-10-31 23:02:44 -03:00
parent 0955af1e69
commit 1ebf8acb9b

View File

@ -5,7 +5,10 @@ export const AddSeedAfterDownloadCompletesColumn: HydraMigration = {
name: "AddSeedAfterDownloadCompletesColumn",
up: (knex: Knex) => {
return knex.schema.alterTable("user_preferences", (table) => {
return table.boolean("seedAfterDownloadCompletes").notNullable().defaultTo(1);
return table
.boolean("seedAfterDownloadCompletes")
.notNullable()
.defaultTo(1);
});
},