We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e546793 commit 7deb827Copy full SHA for 7deb827
backend/src/data-source.ts
@@ -16,8 +16,6 @@ import {
16
AggregateTraceDataHourly,
17
Attack,
18
} from "models"
19
-import { isDevelopment } from "utils"
20
-import { initialMigration1665758810395 } from "migrations/1665758810395-initial-migration"
21
22
export const AppDataSource: DataSource = new DataSource({
23
type: "postgres",
@@ -38,8 +36,6 @@ export const AppDataSource: DataSource = new DataSource({
38
36
39
37
40
],
41
- synchronize: isDevelopment,
42
- migrations: [initialMigration1665758810395],
43
- migrationsRun: !isDevelopment,
+ synchronize: true,
44
logging: false,
45
})
0 commit comments