Add basic keyrelay command, tests

This commit is contained in:
Martin Lensment 2014-11-14 16:11:09 +02:00
parent 1f5efa78ac
commit ec721b69c0
10 changed files with 133 additions and 5 deletions

View file

@ -0,0 +1,19 @@
class CreateKeyrelay < ActiveRecord::Migration
def change
create_table :keyrelays do |t|
t.integer :domain_id
t.datetime :pa_date
t.string :key_data_flags
t.string :key_data_protocol
t.string :key_data_alg
t.text :key_data_public_key
t.string :auth_info_pw
t.string :expiry_relative
t.datetime :expiry_absolute
t.integer :requester_id
t.integer :accepter_id
t.timestamps
end
end
end