summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20210728131544_drop_is_in_chlog_column.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20210728131544_drop_is_in_chlog_column.rb b/db/migrate/20210728131544_drop_is_in_chlog_column.rb
new file mode 100644
index 000000000..541239e97
--- /dev/null
+++ b/db/migrate/20210728131544_drop_is_in_chlog_column.rb
@@ -0,0 +1,9 @@
+class DropIsInChlogColumn < ActiveRecord::Migration[6.1]
+ def self.up
+ remove_column :trackers, :is_in_chlog
+ end
+
+ def self.down
+ add_column :trackers, :is_in_chlog, :boolean, :default => true, :null => false
+ end
+end