mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 21:55:20 +08:00
fix hound
This commit is contained in:
parent
cf57c5dc87
commit
a1bc26f549
1 changed files with 10 additions and 2 deletions
|
@ -1,9 +1,17 @@
|
|||
class RemoveDefaultChecklistItemPositionValue < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :checklist_items, :position, :integer, default: nil, null: true
|
||||
change_column :checklist_items,
|
||||
:position,
|
||||
:integer,
|
||||
default: nil,
|
||||
null: true
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :checklist_items, :position, :integer, default: 0, null: false
|
||||
change_column :checklist_items,
|
||||
:position,
|
||||
:integer,
|
||||
default: 0,
|
||||
null: false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue