changed migrations to typescript

This commit is contained in:
canove
2020-09-14 16:28:00 -03:00
parent f18bab145f
commit 60b12cbc9f
38 changed files with 651 additions and 591 deletions

View File

@@ -1,6 +1,6 @@
import "dotenv/config";
require("dotenv/config");
const dbConfig = {
module.exports = {
define: {
charset: "utf8mb4",
collate: "utf8mb4_bin"
@@ -13,5 +13,3 @@ const dbConfig = {
password: process.env.DB_PASS,
logging: false
};
export default dbConfig;