BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
86021a7d
Commit
86021a7d
authored
Oct 21, 2011
by
Aleksei Kvitinskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected last migration
parent
dde28795
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
20111021101550_change_social_fields_in_users.rb
db/migrate/20111021101550_change_social_fields_in_users.rb
+7
-3
No files found.
db/migrate/20111021101550_change_social_fields_in_users.rb
View file @
86021a7d
class
ChangeSocialFieldsInUsers
<
ActiveRecord
::
Migration
def
up
change_column
(
:users
,
:skype
,
:string
,
{
:null
=>
false
,
:default
=>
''
})
change_column
(
:users
,
:linkedin
,
:string
,
{
:null
=>
false
,
:default
=>
''
})
change_column
(
:users
,
:twitter
,
:string
,
{
:null
=>
false
,
:default
=>
''
})
remove_column
:users
,
:skype
remove_column
:users
,
:linkedin
remove_column
:users
,
:twitter
add_column
:users
,
:skype
,
:string
,
{
:null
=>
false
,
:default
=>
''
}
add_column
:users
,
:linkedin
,
:string
,
{
:null
=>
false
,
:default
=>
''
}
add_column
:users
,
:twitter
,
:string
,
{
:null
=>
false
,
:default
=>
''
}
end
def
down
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment