mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
lint
This commit is contained in:
parent
0955af1e69
commit
1ebf8acb9b
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue