diff options
Diffstat (limited to 'bot/src/models/quote.js')
| -rw-r--r-- | bot/src/models/quote.js | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/bot/src/models/quote.js b/bot/src/models/quote.js deleted file mode 100644 index 9d0ad00..0000000 --- a/bot/src/models/quote.js +++ /dev/null @@ -1,64 +0,0 @@ -import { INTEGER, STRING, TEXT } from 'sequelize'; -import { sequelize } from '../utils/sequelize.js'; - -export const quote = sequelize.define('quotes', { - id: { - type: INTEGER, - autoIncrement: true, - primaryKey: true - }, - author: { - type: STRING, - allowNull: false - }, - authorImage: { - type: STRING, - allowNull: false - }, - quote: { - type: TEXT, - allowNull: false - }, - year: { - type: STRING, - allowNull: false - }, - submitter: { - type: STRING, - allowNull: false - } - -}); - -export const pendingQuote = sequelize.define('pending-quotes', { - id: { - type: INTEGER, - autoIncrement: true, - primaryKey: true - }, - author: { - type: STRING, - allowNull: false - }, - authorImage: { - type: STRING, - allowNull: false - }, - quote: { - type: TEXT, - allowNull: false - }, - year: { - type: STRING, - allowNull: false - }, - submitterAuthor: { - type: STRING, - allowNull: false - }, - submitterID: { - type: STRING, - allowNull: false - } - -}); |
