From b08d9450a3514382efabeca95a883cf587cfaeae Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Tue, 12 Oct 2021 20:47:25 +0200 Subject: [PATCH] Change date type to string in migration --- database/migrations/1633697377760_commands_runs.ts | 2 +- database/migrations/1633697382674_builds_runs.ts | 2 +- database/migrations/1633697389017_development_hours.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/database/migrations/1633697377760_commands_runs.ts b/database/migrations/1633697377760_commands_runs.ts index 9692753..c7adbde 100644 --- a/database/migrations/1633697377760_commands_runs.ts +++ b/database/migrations/1633697377760_commands_runs.ts @@ -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') }) } diff --git a/database/migrations/1633697382674_builds_runs.ts b/database/migrations/1633697382674_builds_runs.ts index 7048728..21f4a4a 100644 --- a/database/migrations/1633697382674_builds_runs.ts +++ b/database/migrations/1633697382674_builds_runs.ts @@ -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') }) } diff --git a/database/migrations/1633697389017_development_hours.ts b/database/migrations/1633697389017_development_hours.ts index 9b8d7cf..a1440ba 100644 --- a/database/migrations/1633697389017_development_hours.ts +++ b/database/migrations/1633697389017_development_hours.ts @@ -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') }) }