fix document_id
This commit is contained in:
@@ -4,7 +4,6 @@ export default class extends BaseSchema {
|
||||
async up() {
|
||||
this.schema.createTable(this.tableName, (table) => {
|
||||
table.increments('id').primary();
|
||||
table.string('document_id', 50).notNullable().unique();
|
||||
table.string('title').notNullable();
|
||||
table.text('content').nullable();
|
||||
table.date('start').nullable();
|
||||
|
||||
Reference in New Issue
Block a user