This commit is contained in:
Nicolas Bally 2018-04-17 10:04:52 +02:00
parent 8789dc927b
commit e0ee08bb7b
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddNameToProductOrderDocuments < ActiveRecord::Migration
def change
add_column :product_order_documents, :name, :string
end
end

View File

@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20180416162335) do ActiveRecord::Schema.define(version: 20180417075800) do
create_table "abonnements", force: :cascade do |t| create_table "abonnements", force: :cascade do |t|
t.integer "abonnement_type_id", limit: 4 t.integer "abonnement_type_id", limit: 4
@ -833,6 +833,7 @@ ActiveRecord::Schema.define(version: 20180416162335) do
t.integer "data_file_id", limit: 4 t.integer "data_file_id", limit: 4
t.integer "reseaux_id", limit: 4 t.integer "reseaux_id", limit: 4
t.integer "fournisseur_id", limit: 4 t.integer "fournisseur_id", limit: 4
t.string "name", limit: 255
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
end end
@ -854,6 +855,7 @@ ActiveRecord::Schema.define(version: 20180416162335) do
t.string "token", limit: 255 t.string "token", limit: 255
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
t.string "name", limit: 255
end end
add_index "product_order_documents", ["product_order_id"], name: "index_product_order_documents_on_product_order_id", using: :btree add_index "product_order_documents", ["product_order_id"], name: "index_product_order_documents_on_product_order_id", using: :btree