From 63837c40bae945a3232441a0814a3a2992d802da Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Tue, 2 Oct 2018 12:05:10 +0300 Subject: [PATCH] Remove domains.status field It is empty anyway --- db/migrate/20181002090319_remove_domain_status_field.rb | 5 +++++ db/structure.sql | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20181002090319_remove_domain_status_field.rb diff --git a/db/migrate/20181002090319_remove_domain_status_field.rb b/db/migrate/20181002090319_remove_domain_status_field.rb new file mode 100644 index 000000000..29c4db931 --- /dev/null +++ b/db/migrate/20181002090319_remove_domain_status_field.rb @@ -0,0 +1,5 @@ +class RemoveDomainStatusField < ActiveRecord::Migration + def change + remove_column :domains, :status + end +end diff --git a/db/structure.sql b/db/structure.sql index 21d39236e..e9b0e7f43 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -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'); +