allow to synchronize all articles of a shared supplier

This commit is contained in:
wvengen 2014-05-21 21:24:03 +02:00
parent 3918e22214
commit 647b7f0430
16 changed files with 194 additions and 77 deletions

View file

@ -0,0 +1,5 @@
class AddSyncMethodToSupplier < ActiveRecord::Migration
def change
add_column :suppliers, :shared_sync_method, :string
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140318173000) do
ActiveRecord::Schema.define(version: 20140521142651) do
create_table "article_categories", force: true do |t|
t.string "name", default: "", null: false
@ -317,6 +317,7 @@ ActiveRecord::Schema.define(version: 20140318173000) do
t.integer "shared_supplier_id"
t.string "min_order_quantity"
t.datetime "deleted_at"
t.string "shared_sync_method"
end
add_index "suppliers", ["name"], name: "index_suppliers_on_name", unique: true, using: :btree