Add an option to automatically finish an order
This commit is contained in:
parent
c3927e4013
commit
564492afe4
10 changed files with 77 additions and 3 deletions
5
db/migrate/20171001020000_add_end_action_to_order.rb
Normal file
5
db/migrate/20171001020000_add_end_action_to_order.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddEndActionToOrder < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :orders, :end_action, :integer, default: 0, null: false
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue