mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Story#105418634 Add updated_at to DnsKEy model
This commit is contained in:
parent
a2d039bb2e
commit
176ca58551
3 changed files with 24 additions and 15 deletions
5
db/migrate/20151028183132_add_updated_at_to_dnskey.rb
Normal file
5
db/migrate/20151028183132_add_updated_at_to_dnskey.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddUpdatedAtToDnskey < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :dnskeys, :updated_at, :datetime
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150921111842) do
|
||||
ActiveRecord::Schema.define(version: 20151028183132) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -253,6 +253,7 @@ ActiveRecord::Schema.define(version: 20150921111842) do
|
|||
t.string "creator_str"
|
||||
t.string "updator_str"
|
||||
t.integer "legacy_domain_id"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
add_index "dnskeys", ["delegation_signer_id"], name: "index_dnskeys_on_delegation_signer_id", using: :btree
|
||||
|
|
|
@ -745,7 +745,8 @@ CREATE TABLE dnskeys (
|
|||
ds_digest character varying,
|
||||
creator_str character varying,
|
||||
updator_str character varying,
|
||||
legacy_domain_id integer
|
||||
legacy_domain_id integer,
|
||||
updated_at timestamp without time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -4946,3 +4947,5 @@ INSERT INTO schema_migrations (version) VALUES ('20150921110152');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20150921111842');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20151028183132');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue