diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-14 22:17:12 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-14 22:20:09 +0100 |
| commit | 8818aa680c2ddaf1204e297fe27f088499eea74f (patch) | |
| tree | 1888efcf1ffc138c848584058299454510544188 /db/migrate/20240314211609_drop_location_column.rb | |
| parent | c232356d490cefb44dd96b400961fe26a85ce183 (diff) | |
| download | operum-8818aa680c2ddaf1204e297fe27f088499eea74f.tar.gz operum-8818aa680c2ddaf1204e297fe27f088499eea74f.zip | |
Dropped redundant 'location' column
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à <msabate@suse.com>
Diffstat (limited to 'db/migrate/20240314211609_drop_location_column.rb')
| -rw-r--r-- | db/migrate/20240314211609_drop_location_column.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
