diff --git a/db/migrate/20191008024334_remove_csr_crt_from_users.rb b/db/migrate/20191008024334_remove_csr_crt_from_users.rb new file mode 100644 index 000000000..42c0d965b --- /dev/null +++ b/db/migrate/20191008024334_remove_csr_crt_from_users.rb @@ -0,0 +1,6 @@ +class RemoveCsrCrtFromUsers < ActiveRecord::Migration + def change + remove_column :users, :csr, :text + remove_column :users, :crt, :text + end +end \ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index 0dcb19643..3b5a6a55f 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -2215,8 +2215,6 @@ CREATE TABLE public.users ( country_code character varying, registrar_id integer, active boolean, - csr text, - crt text, type character varying, registrant_ident character varying, encrypted_password character varying DEFAULT ''::character varying NOT NULL, @@ -4837,3 +4835,5 @@ INSERT INTO schema_migrations (version) VALUES ('20190811202711'); INSERT INTO schema_migrations (version) VALUES ('20190811205406'); +INSERT INTO schema_migrations (version) VALUES ('20191008024334'); + diff --git a/doc/models_complete.svg b/doc/models_complete.svg index 644822637..c5fe1e899 100644 --- a/doc/models_complete.svg +++ b/doc/models_complete.svg @@ -54,8 +54,6 @@ country_code :string registrar_id :integer active :boolean -csr :text -crt :text type :string registrant_ident :string encrypted_password :string @@ -582,8 +580,6 @@ country_code :string registrar_id :integer active :boolean -csr :text -crt :text type :string registrant_ident :string encrypted_password :string @@ -1733,8 +1729,6 @@ country_code :string registrar_id :integer active :boolean -csr :text -crt :text type :string registrant_ident :string encrypted_password :string @@ -2057,8 +2051,6 @@ country_code :string registrar_id :integer active :boolean -csr :text -crt :text type :string registrant_ident :string encrypted_password :string