@@ 112-120 (lines=9) @@ | ||
109 | case 'add': |
|
110 | case 'append': |
|
111 | case 'update': |
|
112 | case 'insert': |
|
113 | $file = 'change'; |
|
114 | $replacements = [ |
|
115 | 'class' => $this->getClass(), |
|
116 | 'table' => $parser->getTable(), |
|
117 | 'fields_up' => $this->getSchemaParser()->up(), |
|
118 | 'fields_down' => $this->getSchemaParser()->down(), |
|
119 | ]; |
|
120 | break; |
|
121 | ||
122 | case 'delete': |
|
123 | case 'remove': |
|
@@ 124-132 (lines=9) @@ | ||
121 | ||
122 | case 'delete': |
|
123 | case 'remove': |
|
124 | case 'alter': |
|
125 | $file = 'change'; |
|
126 | $replacements = [ |
|
127 | 'class' => $this->getClass(), |
|
128 | 'table' => $parser->getTable(), |
|
129 | 'fields_down' => $this->getSchemaParser()->up(), |
|
130 | 'fields_up' => $this->getSchemaParser()->down(), |
|
131 | ]; |
|
132 | break; |
|
133 | default: |
|
134 | $file = 'create'; |
|
135 | $replacements = [ |