|
|
@@ -21,9 +21,9 @@ class CreateSilvers < ActiveRecord::Migration
|
|
|
add_column :orders, :dis_amount ,:integer, :limit => 11, :default => 0
|
|
|
add_column :orders, :total_silver ,:integer, :limit => 11, :default => 0
|
|
|
add_column :orders, :paied_silver ,:integer, :limit => 11, :default => 0
|
|
|
+ add_column :orders, :paied_cash ,:integer, :limit => 11, :default => 0
|
|
|
add_column :products, :silver , :integer, :limit => 11, :default => 0
|
|
|
add_column :products, :use_quan, :boolean,:limit => 1
|
|
|
-
|
|
|
end
|
|
|
|
|
|
def self.down
|