From 2be231b982a9bf53e88bdaf60a521df431b9bddb Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Wed, 28 Jul 2021 16:26:22 +0000 Subject: Removes unused column trackers.is_in_chlog (#31132). git-svn-id: http://svn.redmine.org/redmine/trunk@21106 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/20210728131544_drop_is_in_chlog_column.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20210728131544_drop_is_in_chlog_column.rb (limited to 'db/migrate') 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 -- cgit v1.2.3