Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
lumen-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c32facc4
authored
Oct 10, 2017
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed migration error
parent
cfb2869b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
6 deletions
db/migrate/20170525004328_add_home_data_view_to_user.rb
db/migrate/20170525005625_change_key_to_integer.rb
db/migrate/20170525004328_add_home_data_view_to_user.rb
View file @
c32facc4
class
AddHomeDataViewToUser
<
ActiveRecord
::
Migration
[
5.1
]
def
change
add_column
:users
,
:home_data_view_id
,
:
numb
er
add_column
:users
,
:home_data_view_id
,
:
integ
er
end
end
db/migrate/20170525005625_change_key_to_integer.rb
deleted
100644 → 0
View file @
cfb2869b
class
ChangeKeyToInteger
<
ActiveRecord
::
Migration
[
5.1
]
def
change
change_column
:users
,
:home_data_view_id
,
:integer
end
end
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