Change date type to string in migration

This commit is contained in:
2021-10-12 20:47:25 +02:00
parent 29b57f2001
commit b08d9450a3
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ export default class CommandsRuns extends BaseSchema {
this.schema.createTable(this.tableName, (table) => {
table.increments('id').primary()
table.bigInteger('commands')
table.date('date')
table.string('date')
})
}

View File

@@ -7,7 +7,7 @@ export default class BuildsRuns extends BaseSchema {
this.schema.createTable(this.tableName, (table) => {
table.increments('id').primary()
table.bigInteger('builds')
table.timestamp('date')
table.string('date')
})
}

View File

@@ -7,7 +7,7 @@ export default class DevelopmentHours extends BaseSchema {
this.schema.createTable(this.tableName, (table) => {
table.increments('id').primary()
table.double('seconds')
table.date('date')
table.string('date')
})
}