mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
lint
This commit is contained in:
parent
e331b9b246
commit
fd7f2403da
@ -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);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user