diff options
| author | Adam Soltys <[email protected]> | 2022-09-02 14:47:08 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-02 14:47:14 -0700 |
| commit | 3161dd7ee95b6c7d70f8341298dd4fab84cda8b0 (patch) | |
| tree | 16cd6c55d5dc481331b1e8b640d179f193e7ea13 /db/models | |
| parent | 7a8d64833de8873afb92982b3f5bfff59b30c542 (diff) | |
| download | coinos-server-3161dd7ee95b6c7d70f8341298dd4fab84cda8b0.tar.gz coinos-server-3161dd7ee95b6c7d70f8341298dd4fab84cda8b0.zip | |
es6 migration
Diffstat (limited to 'db/models')
| -rw-r--r-- | db/models/accounts.js | 3 | ||||
| -rw-r--r-- | db/models/codes.js | 3 | ||||
| -rw-r--r-- | db/models/deposits.js | 3 | ||||
| -rw-r--r-- | db/models/invoices.js | 3 | ||||
| -rw-r--r-- | db/models/keys.js | 3 | ||||
| -rw-r--r-- | db/models/orders.js | 3 | ||||
| -rw-r--r-- | db/models/payments.js | 3 | ||||
| -rw-r--r-- | db/models/referrals.js | 3 | ||||
| -rw-r--r-- | db/models/users.js | 3 | ||||
| -rw-r--r-- | db/models/waiting_list.js | 3 | ||||
| -rw-r--r-- | db/models/withdrawals.js | 3 |
11 files changed, 22 insertions, 11 deletions
diff --git a/db/models/accounts.js b/db/models/accounts.js index 3dd9ff71..c7e76277 100644 --- a/db/models/accounts.js +++ b/db/models/accounts.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/codes.js b/db/models/codes.js index b00f5bfb..57edfb35 100644 --- a/db/models/codes.js +++ b/db/models/codes.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { code: { diff --git a/db/models/deposits.js b/db/models/deposits.js index c52d37dd..0d030bf2 100644 --- a/db/models/deposits.js +++ b/db/models/deposits.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/invoices.js b/db/models/invoices.js index 54f3f8bd..c405b122 100644 --- a/db/models/invoices.js +++ b/db/models/invoices.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/keys.js b/db/models/keys.js index 47ec7745..8807e00e 100644 --- a/db/models/keys.js +++ b/db/models/keys.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/orders.js b/db/models/orders.js index 864b6b44..60fd539b 100644 --- a/db/models/orders.js +++ b/db/models/orders.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/payments.js b/db/models/payments.js index fd6b3593..31ce4855 100644 --- a/db/models/payments.js +++ b/db/models/payments.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/referrals.js b/db/models/referrals.js index 79c73e38..2d1e8d8c 100644 --- a/db/models/referrals.js +++ b/db/models/referrals.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/users.js b/db/models/users.js index fa89f315..50b8941c 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/waiting_list.js b/db/models/waiting_list.js index 742306c0..76fb9e3f 100644 --- a/db/models/waiting_list.js +++ b/db/models/waiting_list.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { diff --git a/db/models/withdrawals.js b/db/models/withdrawals.js index 12f6ee6d..53863cbf 100644 --- a/db/models/withdrawals.js +++ b/db/models/withdrawals.js @@ -1,4 +1,5 @@ -import { DataTypes } from 'sequelize'; +import db from "../db.js"; +import { DataTypes } from '@sequelize/core'; const attributes = { id: { |
