mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
react-express-mysql: get version from mysql
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
parent
75aa52524c
commit
59724f87a1
8 changed files with 545 additions and 183 deletions
7
react-express-mysql/backend/src/database.js
vendored
Normal file
7
react-express-mysql/backend/src/database.js
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
const knex = require('knex');
|
||||
const { database } = require('./config');
|
||||
|
||||
module.exports = knex({
|
||||
client: 'mysql2',
|
||||
connection: database,
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue