From fe7f15dbfb8020daf96110e86e359ec01558fcb8 Mon Sep 17 00:00:00 2001 From: Rafael Bodill Date: Thu, 18 Sep 2014 22:47:21 +0300 Subject: Correcting bracket style for 'if' --- application/migrations/013_add_multipaste.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'application/migrations/013_add_multipaste.php') 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, -- cgit v1.2.3-24-g4f1b