Initial commit of foodsoft 2
This commit is contained in:
commit
5b9a7e05df
657 changed files with 70444 additions and 0 deletions
15
db/migrate/016_add_shared_lists_connection.rb
Normal file
15
db/migrate/016_add_shared_lists_connection.rb
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class AddSharedListsConnection < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :suppliers, :shared_supplier_id, :integer
|
||||
add_column :articles, :manufacturer , :string
|
||||
add_column :articles, :origin, :string
|
||||
add_column :articles, :shared_updated_on, :timestamp
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :suppliers, :shared_supplier_id
|
||||
remove_column :articles, :manufacturer
|
||||
remove_column :articles, :origin
|
||||
remove_column :articles, :shared_updated_on
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue