From 31e8eb9ac60d4a78ce106778b228369c303d1764 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Sat, 20 Mar 2021 22:35:51 +0100 Subject: [PATCH] [Main menu] And nice to include the migration script as well. --- .../migrations/066_add_user_hide_notes.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 application/migrations/066_add_user_hide_notes.php diff --git a/application/migrations/066_add_user_hide_notes.php b/application/migrations/066_add_user_hide_notes.php new file mode 100644 index 000000000..447be1226 --- /dev/null +++ b/application/migrations/066_add_user_hide_notes.php @@ -0,0 +1,25 @@ +dbforge->add_column('users', $fields); + } + + public function down() + { + $this->dbforge->drop_column('users', 'user_show_notes'); + } +}