Ajout de l'ORM

Co-authored-by: S0dy <msorin@msorin.com>
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-04-29 11:42:50 +02:00
parent 215383a526
commit 5e1987c6ba
15 changed files with 358 additions and 6 deletions

6
libs/util.js Normal file
View File

@ -0,0 +1,6 @@
import { Sequelize } from 'sequelize'
export const connexion = new Sequelize('imie', 'imie', 'imie', {
host: 'db',
dialect: 'mysql'
})