@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | $xpdo_meta_map['BlendMigrations']= array ( |
3 | - 'package' => 'blend', |
|
4 | - 'version' => '1.1', |
|
5 | - 'table' => 'blend_migrations', |
|
6 | - 'extends' => 'xPDOSimpleObject', |
|
7 | - 'fields' => |
|
8 | - array ( |
|
3 | + 'package' => 'blend', |
|
4 | + 'version' => '1.1', |
|
5 | + 'table' => 'blend_migrations', |
|
6 | + 'extends' => 'xPDOSimpleObject', |
|
7 | + 'fields' => |
|
8 | + array ( |
|
9 | 9 | 'name' => NULL, |
10 | 10 | 'version' => NULL, |
11 | 11 | 'type' => 'master', |
@@ -14,64 +14,64 @@ discard block |
||
14 | 14 | 'author' => NULL, |
15 | 15 | 'created_at' => 'CURRENT_TIMESTAMP', |
16 | 16 | 'processed_at' => NULL, |
17 | - ), |
|
18 | - 'fieldMeta' => |
|
19 | - array ( |
|
17 | + ), |
|
18 | + 'fieldMeta' => |
|
19 | + array ( |
|
20 | 20 | 'name' => |
21 | 21 | array ( |
22 | - 'dbtype' => 'varchar', |
|
23 | - 'precision' => '255', |
|
24 | - 'phptype' => 'string', |
|
25 | - 'null' => false, |
|
22 | + 'dbtype' => 'varchar', |
|
23 | + 'precision' => '255', |
|
24 | + 'phptype' => 'string', |
|
25 | + 'null' => false, |
|
26 | 26 | ), |
27 | 27 | 'version' => |
28 | 28 | array ( |
29 | - 'dbtype' => 'varchar', |
|
30 | - 'precision' => '32', |
|
31 | - 'phptype' => 'string', |
|
32 | - 'null' => true, |
|
29 | + 'dbtype' => 'varchar', |
|
30 | + 'precision' => '32', |
|
31 | + 'phptype' => 'string', |
|
32 | + 'null' => true, |
|
33 | 33 | ), |
34 | 34 | 'type' => |
35 | 35 | array ( |
36 | - 'dbtype' => 'set', |
|
37 | - 'precision' => '\'master\',\'stagging\',\'dev\',\'local\'', |
|
38 | - 'phptype' => 'string', |
|
39 | - 'null' => false, |
|
40 | - 'default' => 'master', |
|
36 | + 'dbtype' => 'set', |
|
37 | + 'precision' => '\'master\',\'stagging\',\'dev\',\'local\'', |
|
38 | + 'phptype' => 'string', |
|
39 | + 'null' => false, |
|
40 | + 'default' => 'master', |
|
41 | 41 | ), |
42 | 42 | 'description' => |
43 | 43 | array ( |
44 | - 'dbtype' => 'text', |
|
45 | - 'phptype' => 'string', |
|
46 | - 'null' => true, |
|
44 | + 'dbtype' => 'text', |
|
45 | + 'phptype' => 'string', |
|
46 | + 'null' => true, |
|
47 | 47 | ), |
48 | 48 | 'status' => |
49 | 49 | array ( |
50 | - 'dbtype' => 'varchar', |
|
51 | - 'precision' => '16', |
|
52 | - 'phptype' => 'string', |
|
53 | - 'null' => false, |
|
54 | - 'default' => 'ready', |
|
50 | + 'dbtype' => 'varchar', |
|
51 | + 'precision' => '16', |
|
52 | + 'phptype' => 'string', |
|
53 | + 'null' => false, |
|
54 | + 'default' => 'ready', |
|
55 | 55 | ), |
56 | 56 | 'author' => |
57 | 57 | array ( |
58 | - 'dbtype' => 'varchar', |
|
59 | - 'precision' => '255', |
|
60 | - 'phptype' => 'string', |
|
61 | - 'null' => true, |
|
58 | + 'dbtype' => 'varchar', |
|
59 | + 'precision' => '255', |
|
60 | + 'phptype' => 'string', |
|
61 | + 'null' => true, |
|
62 | 62 | ), |
63 | 63 | 'created_at' => |
64 | 64 | array ( |
65 | - 'dbtype' => 'timestamp', |
|
66 | - 'phptype' => 'timestamp', |
|
67 | - 'null' => false, |
|
68 | - 'default' => 'CURRENT_TIMESTAMP', |
|
65 | + 'dbtype' => 'timestamp', |
|
66 | + 'phptype' => 'timestamp', |
|
67 | + 'null' => false, |
|
68 | + 'default' => 'CURRENT_TIMESTAMP', |
|
69 | 69 | ), |
70 | 70 | 'processed_at' => |
71 | 71 | array ( |
72 | - 'dbtype' => 'timestamp', |
|
73 | - 'phptype' => 'timestamp', |
|
74 | - 'null' => true, |
|
72 | + 'dbtype' => 'timestamp', |
|
73 | + 'phptype' => 'timestamp', |
|
74 | + 'null' => true, |
|
75 | + ), |
|
75 | 76 | ), |
76 | - ), |
|
77 | 77 | ); |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | $xpdo_meta_map = array ( |
4 | - 'xPDOSimpleObject' => |
|
5 | - array ( |
|
4 | + 'xPDOSimpleObject' => |
|
5 | + array ( |
|
6 | 6 | 0 => 'BlendMigrations', |
7 | - ), |
|
7 | + ), |
|
8 | 8 | ); |
9 | 9 | \ No newline at end of file |
@@ -410,7 +410,7 @@ |
||
410 | 410 | else { |
411 | 411 | try { |
412 | 412 | $write = file_put_contents($this->migrations_path.$class_name.'.php', $file_contents); |
413 | - $this->log_data = [ |
|
413 | + $this->log_data = [ |
|
414 | 414 | 'name' => $class_name, |
415 | 415 | 'type' => $this->getServerType(), |
416 | 416 | 'description' => $this->getDescription(), |