Commit ac208e97 authored by Okhin's avatar Okhin

Installing CSVSeeder for phinx, updated phinx to 0.10

parent 940ed4e5
...@@ -3,12 +3,13 @@ ...@@ -3,12 +3,13 @@
"description": "Site de soutien LQDN", "description": "Site de soutien LQDN",
"require": { "require": {
"bcosca/fatfree": "^3.5", "bcosca/fatfree": "^3.5",
"robmorgan/phinx": "^0.6.4", "robmorgan/phinx": "^0.10.0",
"vlucas/phpdotenv": "^2.4", "vlucas/phpdotenv": "^2.4",
"pimple/pimple": "^3.0", "pimple/pimple": "^3.0",
"doctrine/dbal": "^2.5", "doctrine/dbal": "^2.5",
"symfony/http-foundation": "^3.2", "symfony/http-foundation": "^3.2",
"sentry/sentry": "^1.9" "sentry/sentry": "^1.9",
"backendtea/phinx-csv-seeder": "^0.0.2"
}, },
"require-dev": { "require-dev": {
"codeception/codeception": "^2.2", "codeception/codeception": "^2.2",
......
This diff is collapsed.
...@@ -28,7 +28,7 @@ class RemoveBonusTable extends AbstractMigration ...@@ -28,7 +28,7 @@ class RemoveBonusTable extends AbstractMigration
public function change() public function change()
{ {
if ($this->hasTable('bonus')) { if ($this->hasTable('bonus')) {
$this->dropTable('bonus'); $this->table('bonus')->drop()->save();
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment