mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Remove Domain#valid_from
As unused. `created_at` is the same value as `valid_from`. #787
This commit is contained in:
parent
de5979790f
commit
2f86b3c76b
11 changed files with 10 additions and 20 deletions
5
db/migrate/20180327151906_remove_domains_valid_from.rb
Normal file
5
db/migrate/20180327151906_remove_domains_valid_from.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class RemoveDomainsValidFrom < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :domains, :valid_from, :datetime
|
||||
end
|
||||
end
|
|
@ -872,7 +872,6 @@ CREATE TABLE domains (
|
|||
registrar_id integer NOT NULL,
|
||||
registered_at timestamp without time zone,
|
||||
status character varying,
|
||||
valid_from timestamp without time zone,
|
||||
valid_to timestamp without time zone,
|
||||
registrant_id integer NOT NULL,
|
||||
transfer_code character varying NOT NULL,
|
||||
|
@ -4679,3 +4678,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180306183549');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180308123240');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180327151906');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue