add wallet address to user
This commit is contained in:
6
db/migrate/20210818185019_add_wallet_address_to_user.rb
Normal file
6
db/migrate/20210818185019_add_wallet_address_to_user.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
class AddWalletAddressToUser < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column(:users, :wallet_address, :string)
|
||||
end
|
||||
end
|
||||
3
db/schema.rb
generated
3
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_08_17_233439) do
|
||||
ActiveRecord::Schema.define(version: 2021_08_18_185019) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -134,6 +134,7 @@ ActiveRecord::Schema.define(version: 2021_08_17_233439) do
|
||||
t.string "reset_password_token"
|
||||
t.datetime "reset_password_sent_at"
|
||||
t.datetime "remember_created_at"
|
||||
t.string "wallet_address"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user