serial number in p_article_serial_num
This commit is contained in:
parent
9bc8251614
commit
e4467ff8ae
@ -0,0 +1,5 @@
|
|||||||
|
class AddValueToPArticleSerialNums < ActiveRecord::Migration[6.0]
|
||||||
|
def change
|
||||||
|
add_column :p_article_serial_nums, :value, :string
|
||||||
|
end
|
||||||
|
end
|
@ -10,7 +10,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: 2021_08_27_164533) do
|
ActiveRecord::Schema.define(version: 2021_08_30_091804) do
|
||||||
|
|
||||||
create_table "accounting_zones", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
create_table "accounting_zones", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
@ -976,6 +976,7 @@ ActiveRecord::Schema.define(version: 2021_08_27_164533) do
|
|||||||
t.bigint "p_serial_num_value_id"
|
t.bigint "p_serial_num_value_id"
|
||||||
t.datetime "created_at", precision: 6, null: false
|
t.datetime "created_at", precision: 6, null: false
|
||||||
t.datetime "updated_at", precision: 6, null: false
|
t.datetime "updated_at", precision: 6, null: false
|
||||||
|
t.string "value"
|
||||||
t.index ["p_article_id"], name: "index_p_article_serial_nums_on_p_article_id"
|
t.index ["p_article_id"], name: "index_p_article_serial_nums_on_p_article_id"
|
||||||
t.index ["p_serial_num_type_id"], name: "index_p_article_serial_nums_on_p_serial_num_type_id"
|
t.index ["p_serial_num_type_id"], name: "index_p_article_serial_nums_on_p_serial_num_type_id"
|
||||||
t.index ["p_serial_num_value_id"], name: "index_p_article_serial_nums_on_p_serial_num_value_id"
|
t.index ["p_serial_num_value_id"], name: "index_p_article_serial_nums_on_p_serial_num_value_id"
|
||||||
|
Reference in New Issue
Block a user