Added auth functionality, initial work with views and field types
This commit is contained in:
19
backend/knexfile.js
Normal file
19
backend/knexfile.js
Normal file
@@ -0,0 +1,19 @@
|
||||
module.exports = {
|
||||
development: {
|
||||
client: 'mysql2',
|
||||
connection: {
|
||||
host: process.env.DB_HOST || 'localhost',
|
||||
port: parseInt(process.env.DB_PORT) || 3306,
|
||||
user: process.env.DB_USER || 'root',
|
||||
password: process.env.DB_PASSWORD || 'root',
|
||||
database: process.env.DB_NAME || 'tenant_template',
|
||||
},
|
||||
migrations: {
|
||||
directory: './migrations/tenant',
|
||||
tableName: 'knex_migrations',
|
||||
},
|
||||
seeds: {
|
||||
directory: './seeds/tenant',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user