Add color in skill

This commit is contained in:
2021-08-18 19:49:30 +02:00
parent 52eed07d32
commit 5cc616ee91
4 changed files with 6 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ export default class Skills extends BaseSchema {
this.schema.createTable(this.tableName, (table) => {
table.increments('id').primary()
table.string('name').notNullable()
table.string('color').notNullable()
table
.integer('file_id')
.unsigned()