mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Add basic keyrelay command, tests
This commit is contained in:
parent
1f5efa78ac
commit
ec721b69c0
10 changed files with 133 additions and 5 deletions
19
db/migrate/20141114130737_create_keyrelay.rb
Normal file
19
db/migrate/20141114130737_create_keyrelay.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue