Initial commit of foodsoft 2
This commit is contained in:
commit
5b9a7e05df
657 changed files with 70444 additions and 0 deletions
12
db/migrate/024_add_deposit_defaults.rb
Normal file
12
db/migrate/024_add_deposit_defaults.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class AddDepositDefaults < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column_default :articles, :deposit, 0.0
|
||||
change_column_default :order_article_results, :net_price, 0.0
|
||||
change_column_default :order_article_results, :deposit, 0.0
|
||||
change_column_default :orders, :deposit, 0.0
|
||||
change_column_default :orders, :deposit_credit, 0.0
|
||||
end
|
||||
|
||||
def self.down
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue