Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F462935
20151020192733_create_users_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
Mon, May 19, 12:43 AM
Size
281 B
Mime Type
text/x-ruby
Expires
Wed, May 21, 12:43 AM (1 h, 56 m)
Engine
blob
Format
Raw Data
Handle
220451
Attached To
rARCHIVING archiving
20151020192733_create_users_table.rb
View Options
class
CreateUsersTable
<
ActiveRecord
::
Migration
def
change
create_table
:users
do
|
t
|
t
.
string
:username
,
null
:
false
t
.
string
:email
t
.
integer
:user_type
,
limit
:
1
,
null
:
false
t
.
boolean
:enabled
,
default
:
false
t
.
timestamps
end
end
end
Event Timeline
Log In to Comment