mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-02-05 22:23:45 +01:00
Rework migrations schemes
This commit is contained in:
@@ -5,7 +5,7 @@ export default class Informations extends BaseSchema {
|
||||
|
||||
public async up () {
|
||||
this.schema.createTable(this.tableName, (table) => {
|
||||
table.increments('id')
|
||||
table.increments('id').primary()
|
||||
table.integer('age').notNullable()
|
||||
table
|
||||
.integer('translation_id')
|
||||
|
||||
Reference in New Issue
Block a user