1 | <?php |
||
8 | class PropelMigration_1475699554 |
||
|
|||
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() |
||
60 | |||
61 | /** |
||
62 | * Get the SQL statements for the Down migration |
||
63 | * |
||
64 | * @return array list of the SQL strings to execute for the Down migration |
||
65 | * the keys being the datasources |
||
66 | */ |
||
67 | public function getDownSQL() |
||
82 | |||
83 | } |
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.