File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 22
22
|
23
23
*/
24
24
25
- $ config ['migration_version ' ] = 175 ;
25
+ $ config ['migration_version ' ] = 176 ;
26
26
27
27
/*
28
28
|--------------------------------------------------------------------------
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ defined ('BASEPATH ' ) OR exit ('No direct script access allowed ' );
4
+
5
+ /*
6
+ * Tag Cloudlog as 2.6.8
7
+ */
8
+
9
+ class Migration_tag_2_6_8 extends CI_Migration {
10
+
11
+ public function up ()
12
+ {
13
+
14
+ // Tag Cloudlog 2.6.3
15
+ $ this ->db ->where ('option_name ' , 'version ' );
16
+ $ this ->db ->update ('options ' , array ('option_value ' => '2.6.8 ' ));
17
+
18
+ // Trigger Version Info Dialog
19
+ $ this ->db ->where ('option_type ' , 'version_dialog ' );
20
+ $ this ->db ->where ('option_name ' , 'confirmed ' );
21
+ $ this ->db ->update ('user_options ' , array ('option_value ' => 'false ' ));
22
+
23
+ }
24
+
25
+ public function down ()
26
+ {
27
+ $ this ->db ->where ('option_name ' , 'version ' );
28
+ $ this ->db ->update ('options ' , array ('option_value ' => '2.6.7 ' ));
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments