tax profile and lookup seed data
This commit is contained in:
12
db/migrate/20170403183755_create_tax_profiles.rb
Normal file
12
db/migrate/20170403183755_create_tax_profiles.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateTaxProfiles < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :tax_profiles do |t|
|
||||
t.string :name, :null => false
|
||||
t.decimal :rate, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.boolean :inclusive, :null => false, :default => false
|
||||
t.integer :order_by, :null => false, :default => 1
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user