@@ -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(), |
@@ -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 | 'project' => 'local', |
| 10 | 10 | 'name' => NULL, |
| 11 | 11 | 'version' => NULL, |
@@ -16,78 +16,78 @@ discard block |
||
| 16 | 16 | 'created_at' => 'CURRENT_TIMESTAMP', |
| 17 | 17 | 'processed_at' => NULL, |
| 18 | 18 | 'ran_sequence' => NULL, |
| 19 | - ), |
|
| 20 | - 'fieldMeta' => |
|
| 21 | - array ( |
|
| 19 | + ), |
|
| 20 | + 'fieldMeta' => |
|
| 21 | + array ( |
|
| 22 | 22 | 'project' => |
| 23 | 23 | array ( |
| 24 | - 'dbtype' => 'varchar', |
|
| 25 | - 'precision' => '255', |
|
| 26 | - 'phptype' => 'string', |
|
| 27 | - 'null' => false, |
|
| 28 | - 'default' => 'local', |
|
| 24 | + 'dbtype' => 'varchar', |
|
| 25 | + 'precision' => '255', |
|
| 26 | + 'phptype' => 'string', |
|
| 27 | + 'null' => false, |
|
| 28 | + 'default' => 'local', |
|
| 29 | 29 | ), |
| 30 | 30 | 'name' => |
| 31 | 31 | array ( |
| 32 | - 'dbtype' => 'varchar', |
|
| 33 | - 'precision' => '255', |
|
| 34 | - 'phptype' => 'string', |
|
| 35 | - 'null' => false, |
|
| 32 | + 'dbtype' => 'varchar', |
|
| 33 | + 'precision' => '255', |
|
| 34 | + 'phptype' => 'string', |
|
| 35 | + 'null' => false, |
|
| 36 | 36 | ), |
| 37 | 37 | 'version' => |
| 38 | 38 | array ( |
| 39 | - 'dbtype' => 'varchar', |
|
| 40 | - 'precision' => '32', |
|
| 41 | - 'phptype' => 'string', |
|
| 42 | - 'null' => true, |
|
| 39 | + 'dbtype' => 'varchar', |
|
| 40 | + 'precision' => '32', |
|
| 41 | + 'phptype' => 'string', |
|
| 42 | + 'null' => true, |
|
| 43 | 43 | ), |
| 44 | 44 | 'type' => |
| 45 | 45 | array ( |
| 46 | - 'dbtype' => 'set', |
|
| 47 | - 'precision' => '\'master\',\'stagging\',\'dev\',\'local\'', |
|
| 48 | - 'phptype' => 'string', |
|
| 49 | - 'null' => false, |
|
| 50 | - 'default' => 'master', |
|
| 46 | + 'dbtype' => 'set', |
|
| 47 | + 'precision' => '\'master\',\'stagging\',\'dev\',\'local\'', |
|
| 48 | + 'phptype' => 'string', |
|
| 49 | + 'null' => false, |
|
| 50 | + 'default' => 'master', |
|
| 51 | 51 | ), |
| 52 | 52 | 'description' => |
| 53 | 53 | array ( |
| 54 | - 'dbtype' => 'text', |
|
| 55 | - 'phptype' => 'string', |
|
| 56 | - 'null' => true, |
|
| 54 | + 'dbtype' => 'text', |
|
| 55 | + 'phptype' => 'string', |
|
| 56 | + 'null' => true, |
|
| 57 | 57 | ), |
| 58 | 58 | 'status' => |
| 59 | 59 | array ( |
| 60 | - 'dbtype' => 'varchar', |
|
| 61 | - 'precision' => '16', |
|
| 62 | - 'phptype' => 'string', |
|
| 63 | - 'null' => false, |
|
| 64 | - 'default' => 'ready', |
|
| 60 | + 'dbtype' => 'varchar', |
|
| 61 | + 'precision' => '16', |
|
| 62 | + 'phptype' => 'string', |
|
| 63 | + 'null' => false, |
|
| 64 | + 'default' => 'ready', |
|
| 65 | 65 | ), |
| 66 | 66 | 'author' => |
| 67 | 67 | array ( |
| 68 | - 'dbtype' => 'varchar', |
|
| 69 | - 'precision' => '255', |
|
| 70 | - 'phptype' => 'string', |
|
| 71 | - 'null' => true, |
|
| 68 | + 'dbtype' => 'varchar', |
|
| 69 | + 'precision' => '255', |
|
| 70 | + 'phptype' => 'string', |
|
| 71 | + 'null' => true, |
|
| 72 | 72 | ), |
| 73 | 73 | 'created_at' => |
| 74 | 74 | array ( |
| 75 | - 'dbtype' => 'timestamp', |
|
| 76 | - 'phptype' => 'timestamp', |
|
| 77 | - 'null' => false, |
|
| 78 | - 'default' => 'CURRENT_TIMESTAMP', |
|
| 75 | + 'dbtype' => 'timestamp', |
|
| 76 | + 'phptype' => 'timestamp', |
|
| 77 | + 'null' => false, |
|
| 78 | + 'default' => 'CURRENT_TIMESTAMP', |
|
| 79 | 79 | ), |
| 80 | 80 | 'processed_at' => |
| 81 | 81 | array ( |
| 82 | - 'dbtype' => 'timestamp', |
|
| 83 | - 'phptype' => 'timestamp', |
|
| 84 | - 'null' => true, |
|
| 82 | + 'dbtype' => 'timestamp', |
|
| 83 | + 'phptype' => 'timestamp', |
|
| 84 | + 'null' => true, |
|
| 85 | 85 | ), |
| 86 | 86 | 'ran_sequence' => |
| 87 | 87 | array( |
| 88 | - 'dbtype' => 'int', |
|
| 89 | - 'phptype' => 'int', |
|
| 90 | - 'null' => true |
|
| 88 | + 'dbtype' => 'int', |
|
| 89 | + 'phptype' => 'int', |
|
| 90 | + 'null' => true |
|
| 91 | 91 | ) |
| 92 | - ), |
|
| 92 | + ), |
|
| 93 | 93 | ); |