mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 20:27:30 +02:00
added gin index to json and fixed compared
This commit is contained in:
parent
aba3448744
commit
a23274143d
3 changed files with 45 additions and 15 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddIndexToJsonValidationEvent < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_index :validation_events, :event_data, :using => :gin
|
||||
end
|
||||
end
|
|
@ -4630,6 +4630,13 @@ CREATE INDEX index_users_on_identity_code ON public.users USING btree (identity_
|
|||
CREATE INDEX index_users_on_registrar_id ON public.users USING btree (registrar_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_validation_events_on_event_data; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX index_validation_events_on_event_data ON public.validation_events USING gin (event_data);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_validation_events_on_validation_eventable; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -5381,6 +5388,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20211124071418'),
|
||||
('20211124084308'),
|
||||
('20211125181033'),
|
||||
('20211125184334');
|
||||
('20211125184334'),
|
||||
('20211126085139');
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue