mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-24 05:54:55 +03:00
lint
This commit is contained in:
parent
0955af1e69
commit
1ebf8acb9b
@ -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