aboutsummaryrefslogtreecommitdiffstats
path: root/database/migrations/1566554231482_recipe_schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'database/migrations/1566554231482_recipe_schema.js')
-rw-r--r--database/migrations/1566554231482_recipe_schema.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/database/migrations/1566554231482_recipe_schema.js b/database/migrations/1566554231482_recipe_schema.js
deleted file mode 100644
index 14fcb82..0000000
--- a/database/migrations/1566554231482_recipe_schema.js
+++ /dev/null
@@ -1,21 +0,0 @@
1
2/** @type {import('@adonisjs/lucid/src/Schema')} */
3const Schema = use('Schema');
4
5class RecipeSchema extends Schema {
6 up() {
7 this.create('recipes', (table) => {
8 table.increments();
9 table.string('name', 80).notNullable();
10 table.string('recipeId', 254).notNullable().unique();
11 table.json('data');
12 table.timestamps();
13 });
14 }
15
16 down() {
17 this.drop('recipes');
18 }
19}
20
21module.exports = RecipeSchema;