rename type (reserved)
This commit is contained in:
parent
02614f1ec2
commit
fd0801b23d
@ -0,0 +1,5 @@
|
|||||||
|
class RenameColumnTypeByNameInPSerialNumTypes < ActiveRecord::Migration[6.0]
|
||||||
|
def change
|
||||||
|
rename_column :p_serial_num_types, :type, :name
|
||||||
|
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_26_140648) do
|
ActiveRecord::Schema.define(version: 2021_08_26_145816) 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"
|
||||||
@ -1878,7 +1878,7 @@ ActiveRecord::Schema.define(version: 2021_08_26_140648) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
create_table "p_serial_num_types", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
create_table "p_serial_num_types", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
||||||
t.string "type"
|
t.string "name"
|
||||||
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
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user