From a9c6ec8edb821daf4a6cceec3bc88c15d84d5ba7 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Wed, 14 Jun 2017 14:00:14 -0700 Subject: [PATCH] add migration for site profile enabled flag --- migrations/104_sites_profile_enabled.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 migrations/104_sites_profile_enabled.rb diff --git a/migrations/104_sites_profile_enabled.rb b/migrations/104_sites_profile_enabled.rb new file mode 100644 index 00000000..2fd3b243 --- /dev/null +++ b/migrations/104_sites_profile_enabled.rb @@ -0,0 +1,9 @@ +Sequel.migration do + up { + DB.add_column :sites, :profile_enabled, :boolean, default: true + } + + down { + DB.drop_column :sites, :profile_enabled + } +end