squash: combine template and protocol migrations
This commit is contained in:
parent
6e618e7531
commit
2aa7ea99ac
5 changed files with 57 additions and 84 deletions
|
@ -47,9 +47,7 @@ import { salutation } from "./entity/configuration/salutation";
|
|||
|
||||
import { BackupAndResetDatabase1738166124200 } from "./migrations/1738166124200-BackupAndResetDatabase";
|
||||
import { CreateSchema1738166167472 } from "./migrations/1738166167472-CreateSchema";
|
||||
import { MemberPrintoutTemplates1742207245862 } from "./migrations/1742207245862-memberPrintoutTemplates";
|
||||
import { Listprinting1742311486232 } from "./migrations/1742311486232-listprinting";
|
||||
import { ProtocolSort1742544887410 } from "./migrations/1742544887410-protocolSort";
|
||||
import { TemplatesAndProtocolSort1742549956787 } from "./migrations/1742549956787-templatesAndProtocolSort";
|
||||
|
||||
const dataSource = new DataSource({
|
||||
type: DB_TYPE as any,
|
||||
|
@ -103,13 +101,7 @@ const dataSource = new DataSource({
|
|||
webapi,
|
||||
webapiPermission,
|
||||
],
|
||||
migrations: [
|
||||
BackupAndResetDatabase1738166124200,
|
||||
CreateSchema1738166167472,
|
||||
MemberPrintoutTemplates1742207245862,
|
||||
Listprinting1742311486232,
|
||||
ProtocolSort1742544887410,
|
||||
],
|
||||
migrations: [BackupAndResetDatabase1738166124200, CreateSchema1738166167472, TemplatesAndProtocolSort1742549956787],
|
||||
migrationsRun: true,
|
||||
migrationsTransactionMode: "each",
|
||||
subscribers: [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue