Remove extra attribute

Registrar can be queried from user

#700
This commit is contained in:
Artur Beljajev 2018-02-12 15:50:12 +02:00
parent b11306eea3
commit fa6edab62a
34 changed files with 38 additions and 38 deletions

View file

@ -0,0 +1,5 @@
class RemoveEppSessionsRegistrarId < ActiveRecord::Migration
def change
remove_column :epp_sessions, :registrar_id, :integer
end
end

View file

@ -1053,7 +1053,6 @@ CREATE TABLE epp_sessions (
session_id character varying NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone,
registrar_id integer,
user_id integer
);
@ -5086,3 +5085,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180207071528');
INSERT INTO schema_migrations (version) VALUES ('20180207072139');
INSERT INTO schema_migrations (version) VALUES ('20180212123810');