Skip to content

Commit

Permalink
File/fixes (#20)
Browse files Browse the repository at this point in the history
* update readme for tags

* update issue template to include language

* Mysql.php edited online with Bitbucket

* fix postgres migration
  • Loading branch information
lastlink authored Oct 5, 2018
1 parent 0718548 commit 75308cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Schema/Postgres.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 75308cd

Please sign in to comment.