diff --git a/db/migrations/20210117022706_rename_datas_to_data.php b/db/migrations/20210117022706_rename_datas_to_data.php new file mode 100644 index 0000000..ac3f79f --- /dev/null +++ b/db/migrations/20210117022706_rename_datas_to_data.php @@ -0,0 +1,47 @@ +table('phone'); + $table->renameColumn('adapter_datas', 'adapter_data'); + $table->update(); + + $table = $this->table('contact'); + $table->renameColumn('datas', 'data'); + $table->update(); + + $table = $this->table('validation'); + $table->renameColumn('datas', 'data'); + $table->update(); + + } +}