mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
fix db:rollback on create_unaccent_function
This commit is contained in:
parent
90f77ca929
commit
92e117d5bd
@ -16,10 +16,10 @@ class CreateUnaccentFunction < ActiveRecord::Migration
|
||||
end
|
||||
|
||||
def down
|
||||
execute 'DROP EXTENSION unaccent;'
|
||||
execute 'DROP EXTENSION pg_trgm;'
|
||||
execute 'DROP FUNCTION f_unaccent(text);'
|
||||
execute 'DROP INDEX profiles_lower_unaccent_first_name_trgm_idx;'
|
||||
execute 'DROP INDEX profiles_lower_unaccent_last_name_trgm_idx;'
|
||||
execute 'DROP FUNCTION f_unaccent(text);'
|
||||
execute 'DROP EXTENSION pg_trgm;'
|
||||
execute 'DROP EXTENSION unaccent;'
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user