ajout de User#display_name
This commit is contained in:
parent
5deba5ed61
commit
2fd0266030
|
@ -0,0 +1,5 @@
|
|||
class AddDisplayNameToUsers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :users, :display_name, :string
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_12_26_105150) do
|
||||
ActiveRecord::Schema.define(version: 2021_12_28_170116) do
|
||||
|
||||
create_table "api_credentials", force: :cascade do |t|
|
||||
t.string "token"
|
||||
|
@ -45,6 +45,7 @@ ActiveRecord::Schema.define(version: 2021_12_26_105150) do
|
|||
t.string "last_sign_in_ip"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.string "display_name"
|
||||
t.index ["email"], name: "index_users_on_email", unique: true
|
||||
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue