@@ 111-120 (lines=10) @@ | ||
108 | * |
|
109 | * @return \Phinx\Db\Plan\AlterTable[][] |
|
110 | */ |
|
111 | protected function updatesSequence() |
|
112 | { |
|
113 | return [ |
|
114 | $this->tableUpdates, |
|
115 | $this->constraints, |
|
116 | $this->indexes, |
|
117 | $this->columnRemoves, |
|
118 | $this->tableMoves, |
|
119 | ]; |
|
120 | } |
|
121 | ||
122 | /** |
|
123 | * Returns a nested list of all the steps to execute in inverse order |
|
@@ 127-136 (lines=10) @@ | ||
124 | * |
|
125 | * @return \Phinx\Db\Plan\AlterTable[][] |
|
126 | */ |
|
127 | protected function inverseUpdatesSequence() |
|
128 | { |
|
129 | return [ |
|
130 | $this->constraints, |
|
131 | $this->tableMoves, |
|
132 | $this->indexes, |
|
133 | $this->columnRemoves, |
|
134 | $this->tableUpdates, |
|
135 | ]; |
|
136 | } |
|
137 | ||
138 | /** |
|
139 | * Executes this plan using the given AdapterInterface |