Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F907029
20151107182656_add_timestamps.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, Aug 30, 12:40 PM
Size
495 B
Mime Type
text/x-ruby
Expires
Mon, Sep 1, 12:40 PM (1 d, 16 h)
Engine
blob
Format
Raw Data
Handle
253771
Attached To
rWEBDNS WebDNS (edet4)
20151107182656_add_timestamps.rb
View Options
class
AddTimestamps
<
ActiveRecord
::
Migration
def
change
# TODO: Fixed in later rais-4-1
# https://github.com/rails/rails/commit/758cbb8
#
# add_timestamps :domains, null: false
# add_timestamps :records, null: false
add_column
:domains
,
:created_at
,
:datetime
,
null
:
false
add_column
:domains
,
:updated_at
,
:datetime
,
null
:
false
add_column
:records
,
:created_at
,
:datetime
,
null
:
false
add_column
:records
,
:updated_at
,
:datetime
,
null
:
false
end
end
Event Timeline
Log In to Comment