Refactor domain create xml builder, add dnskey model

This commit is contained in:
Martin Lensment 2014-10-01 16:53:42 +03:00
parent b85420a598
commit 7d7a399ead
8 changed files with 102 additions and 45 deletions

View file

@ -0,0 +1,11 @@
class CreateDnskeys < ActiveRecord::Migration
def change
create_table :dnskeys do |t|
t.integer :domain_id
t.integer :flags
t.integer :protocol
t.integer :alg
t.string :public_key
end
end
end