Remove domains.status field

It is empty anyway
This commit is contained in:
Maciej Szlosarczyk 2018-10-02 12:05:10 +03:00
parent 2d8b196b1e
commit 63837c40ba
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class RemoveDomainStatusField < ActiveRecord::Migration
def change
remove_column :domains, :status
end
end

View file

@ -885,7 +885,6 @@ CREATE TABLE public.domains (
name character varying,
registrar_id integer NOT NULL,
registered_at timestamp without time zone,
status character varying,
valid_to timestamp without time zone NOT NULL,
registrant_id integer NOT NULL,
transfer_code character varying NOT NULL,
@ -4778,3 +4777,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180824092855');
INSERT INTO schema_migrations (version) VALUES ('20180824102834');
INSERT INTO schema_migrations (version) VALUES ('20181002090319');