Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1614675
20160206083933_create_dnssec_policies.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Mar 21, 2:34 AM
Size
345 B
Mime Type
text/x-ruby
Expires
Mon, Mar 23, 2:34 AM (3 h, 48 m)
Engine
blob
Format
Raw Data
Handle
354141
Attached To
rWEBDNS WebDNS (edet4)
20160206083933_create_dnssec_policies.rb
View Options
class
CreateDnssecPolicies
<
ActiveRecord
::
Migration
def
change
create_table
:dnssec_policies
do
|
t
|
t
.
string
:name
t
.
boolean
:active
t
.
text
:policy
t
.
datetime
:created_at
,
null
:
false
t
.
datetime
:updated_at
,
null
:
false
end
add_column
:domains
,
:dnssec_policy_id
,
:integer
,
default
:
nil
end
end
Event Timeline
Log In to Comment