Add awakening boolean to canonical weapons

This commit is contained in:
Justin Edmund 2022-12-21 00:48:18 -08:00
parent c14b2eac82
commit bb0e596e0d
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddAwakeningToWeapons < ActiveRecord::Migration[6.1]
def change
add_column :weapons, :awakening, :boolean, null: false, default: true
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2022_12_21_083126) do
ActiveRecord::Schema.define(version: 2022_12_21_084556) do
# These are extensions that must be enabled in order to support this database
enable_extension "btree_gin"
@ -273,6 +273,7 @@ ActiveRecord::Schema.define(version: 2022_12_21_083126) do
t.boolean "extra", default: false, null: false
t.integer "limit"
t.integer "ax", default: 0, null: false
t.boolean "awakening", default: true, null: false
t.index ["name_en"], name: "index_weapons_on_name_en", opclass: :gin_trgm_ops, using: :gin
end