mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(api): user authentication
This commit is contained in:
parent
f14eda16ac
commit
f253a66f86
41 changed files with 657 additions and 338 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { ConfigModule, ConfigService } from "@nestjs/config";
|
||||
import { ConfigService } from "@nestjs/config";
|
||||
import { TypeOrmModule } from "@nestjs/typeorm";
|
||||
import { join } from "path";
|
||||
|
||||
|
|
@ -17,9 +17,9 @@ export const DatabaseModule = TypeOrmModule.forRootAsync({
|
|||
entities: [join(__dirname, "..", "**/*.entity.{ts,js}")],
|
||||
|
||||
// Migrations
|
||||
migrationsRun: true,
|
||||
migrations: [join(__dirname, "migrations", "*.{ts,js}")],
|
||||
synchronize: false
|
||||
// migrationsRun: true,
|
||||
// migrations: [join(__dirname, "migrations", "*.{ts,js}")],
|
||||
synchronize: true
|
||||
}),
|
||||
inject: [ConfigService]
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue