From 8818aa680c2ddaf1204e297fe27f088499eea74f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 14 Mar 2024 22:17:12 +0100 Subject: Dropped redundant 'location' column MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Looks like I messed up later on and kept two columns which were basically referring to the same thing. Signed-off-by: Miquel Sabaté Solà --- db/migrate/20240314211609_drop_location_column.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20240314211609_drop_location_column.rb (limited to 'db/migrate/20240314211609_drop_location_column.rb') diff --git a/db/migrate/20240314211609_drop_location_column.rb b/db/migrate/20240314211609_drop_location_column.rb new file mode 100644 index 0000000..1afa57f --- /dev/null +++ b/db/migrate/20240314211609_drop_location_column.rb @@ -0,0 +1,5 @@ +class DropLocationColumn < ActiveRecord::Migration[7.1] + def change + remove_column :things, :location + end +end -- cgit v1.2.3