mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
feat: seed downloads from previous versions
This commit is contained in:
parent
610b6e528c
commit
1416cd46a3
@ -5,7 +5,7 @@ export const AddShouldSeedColumn: HydraMigration = {
|
|||||||
name: "AddShouldSeedColumn",
|
name: "AddShouldSeedColumn",
|
||||||
up: (knex: Knex) => {
|
up: (knex: Knex) => {
|
||||||
return knex.schema.alterTable("game", (table) => {
|
return knex.schema.alterTable("game", (table) => {
|
||||||
return table.boolean("shouldSeed").notNullable().defaultTo(false);
|
return table.boolean("shouldSeed").notNullable().defaultTo(true);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user