chore: create user, collection and link models, migrations and seeders

This commit is contained in:
Sonny
2024-04-28 00:45:10 +02:00
committed by Sonny
parent 08dcd7455f
commit 231629f0dd
17 changed files with 311 additions and 32 deletions

View File

@@ -5,7 +5,8 @@ export default class extends BaseSchema {
async up() {
this.schema.createTable(this.tableName, (table) => {
table.string('id').notNullable();
table.uuid('id').notNullable();
table.string('email', 254).notNullable().unique();
table.string('name', 254).notNullable();
table.string('nick_name', 254).notNullable();