Add transcendence date to weapon
This commit is contained in:
parent
a40dcb5782
commit
71c4ba5ab9
2 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
class AddTranscendenceToWeapon < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :weapons, :transcendence, :boolean, default: false
|
||||
add_column :weapons, :transcendence_date, :datetime
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -458,6 +458,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_01_13_180227) do
|
|||
t.string "nicknames_en", default: [], null: false, array: true
|
||||
t.string "nicknames_jp", default: [], null: false, array: true
|
||||
t.boolean "transcendence", default: false
|
||||
t.datetime "transcendence_date"
|
||||
t.index ["name_en"], name: "index_weapons_on_name_en", opclass: :gin_trgm_ops, using: :gin
|
||||
t.index ["recruits_id"], name: "index_weapons_on_recruits_id"
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue