From a7ee9d5e262019e1f05dd66823ff8370adfad209 Mon Sep 17 00:00:00 2001 From: Arthur Danjou Date: Mon, 5 Apr 2021 17:16:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=BB=20|=20Update=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- database/migrations/1617635419347_users.ts | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 database/migrations/1617635419347_users.ts diff --git a/.gitignore b/.gitignore index ad74280..a0b3fd6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ coverage tmp database/seeders .idea/ -/database/migrations/ +/database/seeders/ diff --git a/database/migrations/1617635419347_users.ts b/database/migrations/1617635419347_users.ts deleted file mode 100644 index b1267ab..0000000 --- a/database/migrations/1617635419347_users.ts +++ /dev/null @@ -1,16 +0,0 @@ -import BaseSchema from '@ioc:Adonis/Lucid/Schema' - -export default class Users extends BaseSchema { - protected tableName = 'users' - - public async up () { - this.schema.createTable(this.tableName, (table) => { - table.increments('id') - table.timestamps(true) - }) - } - - public async down () { - this.schema.dropTable(this.tableName) - } -}