From 75308cd8317559661d8ca5ab25b16f404b8add94 Mon Sep 17 00:00:00 2001 From: lastlink Date: Thu, 4 Oct 2018 20:34:50 -0400 Subject: [PATCH] File/fixes (#20) * update readme for tags * update issue template to include language * Mysql.php edited online with Bitbucket * fix postgres migration --- Schema/Postgres.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Schema/Postgres.php b/Schema/Postgres.php index 82ed3f4..18955ce 100644 --- a/Schema/Postgres.php +++ b/Schema/Postgres.php @@ -8,9 +8,9 @@ function version_3(PDO $pdo) { - $pdo->exec('ALTER TABLE files ADD COLUMN "date" INTEGER NOT NULL DEFAULT 0'); - $pdo->exec('ALTER TABLE files ADD COLUMN "user_id" INTEGER NOT NULL DEFAULT 0'); - $pdo->exec('ALTER TABLE files ADD COLUMN "size" INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE wikipage_has_files ADD COLUMN "date" INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE wikipage_has_files ADD COLUMN "user_id" INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE wikipage_has_files ADD COLUMN "size" INTEGER NOT NULL DEFAULT 0'); } function version_2(PDO $pdo)