From bc39d020a11157c4330611e61685fe4b7ad5ee8e Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Sun, 17 Jan 2021 03:31:04 +0100 Subject: [PATCH] rename datas to data --- .../20210117022706_rename_datas_to_data.php | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 db/migrations/20210117022706_rename_datas_to_data.php 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(); + + } +}