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
054c9415
authored
Oct 20, 2021
by
John Donnal
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed migration bug
parent
bc64f00a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
db/migrate/20160524023257_create_db_decimations.rb
db/migrate/20160709234451_remove_int_from_db_decimations.rb
db/migrate/20160524023257_create_db_decimations.rb
View file @
054c9415
class
CreateDbDecimations
<
ActiveRecord
::
Migration
[
5.0
]
def
change
create_table
:db_decimations
do
|
t
|
t
.
integer
:start_time
,
:
int
,
:
limit
=>
8
t
.
integer
:end_time
,
:
int
,
:
limit
=>
8
t
.
integer
:total_rows
,
:
int
,
:
limit
=>
8
t
.
integer
:total_time
,
:
int
,
:
limit
=>
8
t
.
integer
:db_file_id
,
:int
t
.
integer
:start_time
,
:limit
=>
8
t
.
integer
:end_time
,
:limit
=>
8
t
.
integer
:total_rows
,
:limit
=>
8
t
.
integer
:total_time
,
:limit
=>
8
t
.
integer
:db_file_id
t
.
timestamps
null:
false
end
end
...
...
db/migrate/20160709234451_remove_int_from_db_decimations.rb
View file @
054c9415
class
RemoveIntFromDbDecimations
<
ActiveRecord
::
Migration
[
5.0
]
def
change
remove_column
:db_decimations
,
:int
# fixed in 20160524023257_create_db_decimations
# remove_column :db_decimations, :int
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