mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-28 13:21:02 +00:00
feat: seed downloads from previous versions
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user