Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1426844
20151125222951_add_identifier_users.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, Jan 17, 12:37 PM
Size
311 B
Mime Type
text/x-ruby
Expires
Mon, Jan 19, 12:37 PM (1 d, 18 h)
Engine
blob
Format
Raw Data
Handle
325506
Attached To
rARCHIVING archiving
20151125222951_add_identifier_users.rb
View Options
class
AddIdentifierUsers
<
ActiveRecord
::
Migration
def
connection
ActiveRecord
::
Base
.
establish_connection
(
Baas
::
settings
[
:local_db
]
)
.
connection
end
def
up
add_column
:users
,
:identifier
,
:string
add_index
:users
,
:identifier
end
def
down
remove_column
:users
,
:identifier
end
end
Event Timeline
Log In to Comment