1 | <?php |
||
8 | class PropelMigration_1475694269 |
||
|
|||
9 | { |
||
10 | public $comment = ''; |
||
11 | |||
12 | public function preUp($manager) |
||
16 | |||
17 | public function postUp($manager) |
||
21 | |||
22 | public function preDown($manager) |
||
26 | |||
27 | public function postDown($manager) |
||
31 | |||
32 | /** |
||
33 | * Get the SQL statements for the Up migration |
||
34 | * |
||
35 | * @return array list of the SQL strings to execute for the Up migration |
||
36 | * the keys being the datasources |
||
37 | */ |
||
38 | public function getUpSQL() |
||
72 | |||
73 | /** |
||
74 | * Get the SQL statements for the Down migration |
||
75 | * |
||
76 | * @return array list of the SQL strings to execute for the Down migration |
||
77 | * the keys being the datasources |
||
78 | */ |
||
79 | public function getDownSQL() |
||
96 | |||
97 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.