aboutsummaryrefslogtreecommitdiffstats
path: root/migrations/20190113193839-create_orders.js
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/20190113193839-create_orders.js')
-rw-r--r--migrations/20190113193839-create_orders.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/migrations/20190113193839-create_orders.js b/migrations/20190113193839-create_orders.js
deleted file mode 100644
index 01e1ffb1..00000000
--- a/migrations/20190113193839-create_orders.js
+++ /dev/null
@@ -1,25 +0,0 @@
-'use strict';
-
-module.exports = {
- up: (queryInterface, Sequelize) => {
- return queryInterface.createTable('orders', {
- id: {
- allowNull: false,
- autoIncrement: true,
- primaryKey: true,
- type: Sequelize.INTEGER
- },
- amount: { type: Sequelize.INTEGER },
- price: { type: Sequelize.INTEGER },
- type: { type: Sequelize.STRING },
- pair: { type: Sequelize.STRING },
- createdAt: {
- allowNull: false,
- type: Sequelize.DATE
- },
- });
- },
- down: (queryInterface, Sequelize) => {
- return queryInterface.dropTable('orders');
- },
-};