From f04cfb3e7f010cece74d9d30ff24dad47d2a2f35 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 23 Aug 2016 15:50:52 -0700 Subject: [PATCH] Allow admins to show status labels in nav --- ...45619_add_show_in_nav_to_status_labels.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 database/migrations/2016_08_23_145619_add_show_in_nav_to_status_labels.php diff --git a/database/migrations/2016_08_23_145619_add_show_in_nav_to_status_labels.php b/database/migrations/2016_08_23_145619_add_show_in_nav_to_status_labels.php new file mode 100644 index 0000000000..a67f34db59 --- /dev/null +++ b/database/migrations/2016_08_23_145619_add_show_in_nav_to_status_labels.php @@ -0,0 +1,31 @@ +boolean('show_in_nav')->default(0); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('status_labels', function (Blueprint $table) { + $table->dropColumn('show_in_nav', 'field_encrypted'); + }); + } +}