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