diff --git a/db/migrations/20181108152608_remove_address_defaut.php b/db/migrations/20181108152608_remove_address_defaut.php new file mode 100644 index 0000000000000000000000000000000000000000..a80e3bb337c3fa660bd971df785ce884f6031a78 --- /dev/null +++ b/db/migrations/20181108152608_remove_address_defaut.php @@ -0,0 +1,46 @@ +table('adresses'); + $table->removeColumn('defaut') + ->save(); + } + + public function down() + { + $table = $this->table('adresses'); + $table->addColumn('defaut', 'boolean') + ->save(); + } +}