mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-02-02 12:57:49 +01:00
💻 | Update .gitignore
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -7,4 +7,4 @@ coverage
|
|||||||
tmp
|
tmp
|
||||||
database/seeders
|
database/seeders
|
||||||
.idea/
|
.idea/
|
||||||
/database/migrations/
|
/database/seeders/
|
||||||
|
|||||||
@@ -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)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user