Add awakening boolean to canonical weapons
This commit is contained in:
parent
c14b2eac82
commit
bb0e596e0d
2 changed files with 7 additions and 1 deletions
5
db/migrate/20221221084556_add_awakening_to_weapons.rb
Normal file
5
db/migrate/20221221084556_add_awakening_to_weapons.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddAwakeningToWeapons < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
add_column :weapons, :awakening, :boolean, null: false, default: true
|
||||||
|
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: 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "btree_gin"
|
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.boolean "extra", default: false, null: false
|
||||||
t.integer "limit"
|
t.integer "limit"
|
||||||
t.integer "ax", default: 0, null: false
|
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
|
t.index ["name_en"], name: "index_weapons_on_name_en", opclass: :gin_trgm_ops, using: :gin
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue