💻 | Update .gitignore

This commit is contained in:
2021-04-05 17:16:47 +02:00
parent 933109aceb
commit a7ee9d5e26
2 changed files with 1 additions and 17 deletions

2
.gitignore vendored
View File

@@ -7,4 +7,4 @@ coverage
tmp
database/seeders
.idea/
/database/migrations/
/database/seeders/

View File

@@ -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)
}
}