Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1300625
20170211130636_create_rejected_hosts_table.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
Wed, Nov 19, 2:34 PM
Size
386 B
Mime Type
text/x-ruby
Expires
Fri, Nov 21, 2:34 PM (53 m, 10 s)
Engine
blob
Format
Raw Data
Handle
294872
Attached To
rARCHIVING archiving
20170211130636_create_rejected_hosts_table.rb
View Options
class
CreateRejectedHostsTable
<
ActiveRecord
::
Migration
def
change
create_table
:rejected_hosts
do
|
t
|
t
.
binary
:name
,
limit
:
255
,
null
:
false
t
.
binary
:fqdn
,
limit
:
255
,
null
:
false
t
.
references
:user
t
.
integer
:rejecter_id
t
.
text
:reason
t
.
datetime
:host_created_at
t
.
timestamps
end
add_index
:rejected_hosts
,
:name
end
end
Event Timeline
Log In to Comment