diff options
Diffstat (limited to 'app/Schema')
-rw-r--r-- | app/Schema/Mysql.php | 4 | ||||
-rw-r--r-- | app/Schema/Postgres.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index af7c3c87..b1ac0ab9 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -15,8 +15,8 @@ function version_85($pdo) function version_84($pdo) { - $pdo->exec("ALTER TABLE projects ADD COLUMN start_date CHAR(10) DEFAULT ''"); - $pdo->exec("ALTER TABLE projects ADD COLUMN end_date CHAR(10) DEFAULT ''"); + $pdo->exec("ALTER TABLE projects ADD COLUMN start_date VARCHAR(10) DEFAULT ''"); + $pdo->exec("ALTER TABLE projects ADD COLUMN end_date VARCHAR(10) DEFAULT ''"); } function version_83($pdo) diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 03f71de0..9477b416 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -15,8 +15,8 @@ function version_65($pdo) function version_64($pdo) { - $pdo->exec("ALTER TABLE projects ADD COLUMN start_date CHAR(10) DEFAULT ''"); - $pdo->exec("ALTER TABLE projects ADD COLUMN end_date CHAR(10) DEFAULT ''"); + $pdo->exec("ALTER TABLE projects ADD COLUMN start_date VARCHAR(10) DEFAULT ''"); + $pdo->exec("ALTER TABLE projects ADD COLUMN end_date VARCHAR(10) DEFAULT ''"); } function version_63($pdo) |