Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lastlink committed Oct 5, 2018
2 parents 7d09bb8 + 75308cd commit 0eca74b
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 0eca74b

Please sign in to comment.