mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-12 00:04:40 +02:00
restart portfolio
This commit is contained in:
+3
-1
@@ -6,9 +6,11 @@ export default class extends BaseSchema {
|
||||
public async up() {
|
||||
this.schema.createTable(this.tableName, (table) => {
|
||||
table.increments('id').primary()
|
||||
table.string('pseudo', 50).notNullable
|
||||
|
||||
table.string('pseudo', 50).notNullable()
|
||||
table.string('email', 255).notNullable().unique()
|
||||
table.string('password', 180).notNullable()
|
||||
|
||||
table.string('remember_me_token').nullable()
|
||||
table.timestamp('created_at', { useTz: true }).notNullable()
|
||||
table.timestamp('updated_at', { useTz: true }).notNullable()
|
||||
Reference in New Issue
Block a user