1 | <?php |
||
8 | class PropelMigration_1455268734 |
||
|
|||
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() |
||
64 | |||
65 | /** |
||
66 | * Get the SQL statements for the Down migration |
||
67 | * |
||
68 | * @return array list of the SQL strings to execute for the Down migration |
||
69 | * the keys being the datasources |
||
70 | */ |
||
71 | public function getDownSQL() |
||
83 | |||
84 | } |
||
85 |
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.