This commit is contained in:
2021-06-30 21:21:22 +02:00
parent a89340e61d
commit 96827e29cd
8 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ export default class Subscribers extends BaseSchema {
this.schema.createTable(this.tableName, (table) => {
table.increments('id').primary()
table.string('email').notNullable()
table.timestamps()
table.timestamps(true, true)
})
}

View File

@@ -8,7 +8,7 @@ export default class Pictures extends BaseSchema {
table.increments('id').primary()
table.string('label').notNullable()
table.string('file_name').notNullable()
table.timestamps()
table.timestamps(true, true)
})
}

View File

@@ -8,7 +8,7 @@ export default class Posts extends BaseSchema {
table.increments('id').primary()
table.string('slug').notNullable()
table.integer('likes').notNullable()
table.timestamps()
table.timestamps(true, true)
})
}

View File

@@ -9,7 +9,7 @@ export default class Locations extends BaseSchema {
table.string('place')
table.string('left')
table.date('since')
table.timestamps()
table.timestamps(true, true)
})
}

View File

@@ -10,7 +10,7 @@ export default class Projects extends BaseSchema {
table.string('description')
table.string('url')
table.integer('progress')
table.timestamps()
table.timestamps(true, true)
})
}

View File

@@ -10,7 +10,7 @@ export default class Forms extends BaseSchema {
table.string('email')
table.string('subject')
table.string('content')
table.timestamps()
table.timestamps(true, true)
})
}

View File

@@ -13,7 +13,7 @@ export default class Users extends BaseSchema {
table.boolean('is_confirmed').defaultTo(false).notNullable()
table.string('remember_me_token').defaultTo(null).nullable()
table.string('confirmation_token').defaultTo(null).nullable()
table.timestamps()
table.timestamps(true, true)
})
}

View File

@@ -11,7 +11,7 @@ export default class ApiTokens extends BaseSchema {
table.string('type').notNullable()
table.string('token', 64).notNullable()
table.timestamp('expires_at', { useTz: true }).nullable()
table.timestamps()
table.timestamps(true, true)
})
}