mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
chore: create user, collection and link models, migrations and seeders
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user