From 6c5f73b241d3b31123fbbc61cc4acf76adae8d5e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 18 Mar 2024 22:20:23 +0100 Subject: thing: removed unique index on title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- db/migrate/20240318211829_remove_uniqueness_index_on_title_things.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20240318211829_remove_uniqueness_index_on_title_things.rb (limited to 'db/migrate') diff --git a/db/migrate/20240318211829_remove_uniqueness_index_on_title_things.rb b/db/migrate/20240318211829_remove_uniqueness_index_on_title_things.rb new file mode 100644 index 0000000..96b5be6 --- /dev/null +++ b/db/migrate/20240318211829_remove_uniqueness_index_on_title_things.rb @@ -0,0 +1,5 @@ +class RemoveUniquenessIndexOnTitleThings < ActiveRecord::Migration[7.1] + def change + remove_index :things, :title + end +end -- cgit v1.2.3