mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(api-user): add basic User Entity and basic routing to fetch all users
This commit is contained in:
16
ormconfig.js
16
ormconfig.js
@@ -3,11 +3,11 @@ const devConfig = {
|
||||
database: 'db/db.sqlite3',
|
||||
synchronize: true,
|
||||
logging: true,
|
||||
entities: ['src/entity/**/*.ts'],
|
||||
migrations: ['src/migration/**/*.ts'],
|
||||
entities: ['server/entity/**/*.ts'],
|
||||
migrations: ['server/migration/**/*.ts'],
|
||||
cli: {
|
||||
entitiesDir: 'src/entity',
|
||||
migrationsDir: 'src/migration',
|
||||
entitiesDir: 'server/entity',
|
||||
migrationsDir: 'server/migration',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -16,12 +16,12 @@ const prodConfig = {
|
||||
database: 'db/db.sqlite3',
|
||||
synchronize: false,
|
||||
logging: false,
|
||||
entities: ['dist/entity/**/*.js'],
|
||||
migrations: ['dist/migration/**/*.js'],
|
||||
entities: ['dist/server/entity/**/*.js'],
|
||||
migrations: ['dist/server/migration/**/*.js'],
|
||||
migrationsRun: true,
|
||||
cli: {
|
||||
entitiesDir: 'dist/entity',
|
||||
migrationsDir: 'dist/migration',
|
||||
entitiesDir: 'dist/server/entity',
|
||||
migrationsDir: 'dist/server/migration',
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user