edit api
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class AddLocationCodeInClients < ActiveRecord::Migration[5.0]
|
||||||
|
def change
|
||||||
|
add_column :clients, :location_code, :string
|
||||||
|
end
|
||||||
|
end
|
||||||
5
db/migrate/20170209102414_add_product_type_in_batches.rb
Normal file
5
db/migrate/20170209102414_add_product_type_in_batches.rb
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
class AddProductTypeInBatches < ActiveRecord::Migration[5.0]
|
||||||
|
def change
|
||||||
|
add_reference :batches, :product_category, index: true
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user