This commit is contained in:
Hachi-R 2024-10-31 23:02:44 -03:00
parent e331b9b246
commit fd7f2403da

View File

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