summaryrefslogtreecommitdiffstats
path: root/application/migrations/013_add_multipaste.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/migrations/013_add_multipaste.php')
-rw-r--r--application/migrations/013_add_multipaste.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/application/migrations/013_add_multipaste.php b/application/migrations/013_add_multipaste.php
index 3b97f6986..ef29effa9 100644
--- a/application/migrations/013_add_multipaste.php
+++ b/application/migrations/013_add_multipaste.php
@@ -5,8 +5,7 @@ class Migration_add_multipaste extends CI_Migration {
public function up()
{
- if ($this->db->dbdriver == 'postgre')
- {
+ if ($this->db->dbdriver == 'postgre') {
$this->db->query('
CREATE TABLE "multipaste" (
"url_id" varchar(255) NOT NULL,
@@ -36,9 +35,9 @@ class Migration_add_multipaste extends CI_Migration {
ADD CONSTRAINT "multipaste_file_map_file_id_fkey" FOREIGN KEY ("file_url_id")
REFERENCES "files"("id") ON DELETE CASCADE ON UPDATE CASCADE
');
- }
- else
- {
+
+ } else {
+
$this->db->query('
CREATE TABLE `multipaste` (
`url_id` varchar(255) NOT NULL,