Completed
Push — master ( 122868...c4a29e )
by Charles
02:55 queued 48s
created
protected/messages/en_us/models/UserRoles.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
  * NOTE, this file must be saved in UTF-8 encoding.
18 18
  */
19 19
 return array (
20
-  'Created' => '',
21
-  'ID' => '',
22
-  'Name' => '',
23
-  'Updated' => '',
20
+    'Created' => '',
21
+    'ID' => '',
22
+    'Name' => '',
23
+    'Updated' => '',
24 24
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  *
17 17
  * NOTE, this file must be saved in UTF-8 encoding.
18 18
  */
19
-return array (
19
+return array(
20 20
   'Created' => '',
21 21
   'ID' => '',
22 22
   'Name' => '',
Please login to merge, or discard this patch.
protected/migrations/m170731_173719_comments_and_relationships_fix.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -2,17 +2,17 @@
 block discarded – undo
2 2
 
3 3
 class m170731_173719_comments_and_relationships_fix extends CDbMigration
4 4
 {
5
-	public function up()
6
-	{
7
-	}
5
+    public function up()
6
+    {
7
+    }
8 8
 
9
-	public function down()
10
-	{
11
-		$this->addForeignKey('user_roles_fk', 'users', 'user_role', 'user_roles', 'id', 'CASCADE', 'NO ACTION');
12
-		$this->execute('ALTER TABLE `comments` MODIFY comment TEXT NOT NULL');
13
-	}
9
+    public function down()
10
+    {
11
+        $this->addForeignKey('user_roles_fk', 'users', 'user_role', 'user_roles', 'id', 'CASCADE', 'NO ACTION');
12
+        $this->execute('ALTER TABLE `comments` MODIFY comment TEXT NOT NULL');
13
+    }
14 14
 
15
-	/*
15
+    /*
16 16
 	// Use safeUp/safeDown to do migration with transaction
17 17
 	public function safeUp()
18 18
 	{
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 class m170731_173719_comments_and_relationships_fix extends CDbMigration
4 4
 {
5
-	public function up()
5
+	public function up ()
6 6
 	{
7 7
 	}
8 8
 
9
-	public function down()
9
+	public function down ()
10 10
 	{
11
-		$this->addForeignKey('user_roles_fk', 'users', 'user_role', 'user_roles', 'id', 'CASCADE', 'NO ACTION');
12
-		$this->execute('ALTER TABLE `comments` MODIFY comment TEXT NOT NULL');
11
+		$this->addForeignKey ('user_roles_fk', 'users', 'user_role', 'user_roles', 'id', 'CASCADE', 'NO ACTION');
12
+		$this->execute ('ALTER TABLE `comments` MODIFY comment TEXT NOT NULL');
13 13
 	}
14 14
 
15 15
 	/*
Please login to merge, or discard this patch.