change text to string for sale_audits migrate
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -28,6 +28,7 @@ capybara-*.html
|
||||
/public/uploads/*
|
||||
/public/swf/*
|
||||
/public/receipts/
|
||||
/public/orders_*
|
||||
/public/*.mp3
|
||||
/coverage/
|
||||
/spec/tmp/*
|
||||
|
||||
@@ -9,7 +9,7 @@ class CreateSaleAudits < ActiveRecord::Migration[5.1]
|
||||
t.string :action_by, :null => false
|
||||
t.string :approved_by, :null => true
|
||||
t.datetime :approved_at, :null => true
|
||||
t.text :remark, :index => true
|
||||
t.string :remark, :index => true
|
||||
t.timestamps
|
||||
end
|
||||
add_index :sale_audits, [:sale_id, :action, :action_at, :remark]
|
||||
|
||||
Reference in New Issue
Block a user