Add element to user
The bg color for pictures
This commit is contained in:
parent
5e2a28c340
commit
e7099b2d34
2 changed files with 7 additions and 1 deletions
5
db/migrate/20220304115434_add_element_to_user.rb
Normal file
5
db/migrate/20220304115434_add_element_to_user.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddElementToUser < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
add_column :users, :element, :string, :default => "water", :null => false
|
||||||
|
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_03_04_092134) do
|
ActiveRecord::Schema.define(version: 2022_03_04_115434) 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 "pgcrypto"
|
enable_extension "pgcrypto"
|
||||||
|
|
@ -189,6 +189,7 @@ ActiveRecord::Schema.define(version: 2022_03_04_092134) do
|
||||||
t.string "picture", default: "gran"
|
t.string "picture", default: "gran"
|
||||||
t.string "language", default: "en", null: false
|
t.string "language", default: "en", null: false
|
||||||
t.boolean "private", default: false, null: false
|
t.boolean "private", default: false, null: false
|
||||||
|
t.string "element", default: "water", null: false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "weapon_keys", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
create_table "weapon_keys", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue