1 | <?php |
||
15 | class StockAddTypeDomainValue extends \Aimeos\MW\Setup\Task\Base |
||
16 | { |
||
17 | private $sql = 'UPDATE "mshop_stock_type" SET "domain"=\'product\' WHERE "domain"=\'\''; |
||
18 | |||
19 | |||
20 | /** |
||
21 | * Returns the list of task names which this task depends on. |
||
22 | * |
||
23 | * @return array List of task names |
||
24 | */ |
||
25 | public function getPreDependencies() |
||
29 | |||
30 | |||
31 | /** |
||
32 | * Returns the list of task names which depends on this task. |
||
33 | * |
||
34 | * @return string[] List of task names |
||
35 | */ |
||
36 | public function getPostDependencies() |
||
40 | |||
41 | |||
42 | /** |
||
43 | * Cleans up the tables |
||
44 | */ |
||
45 | public function clean() |
||
49 | |||
50 | |||
51 | /** |
||
52 | * Migrate the tables |
||
53 | */ |
||
54 | public function migrate() |
||
69 | } |
||
70 |