Add nostr_pubkey to users

This commit is contained in:
Râu Cao 2023-03-07 18:31:54 +08:00
parent b03c6e9513
commit bc4d9ff528
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,5 @@
class AddNostrPubkeyToUsers < ActiveRecord::Migration[7.0]
def change
add_column :users, :nostr_pubkey, :string
end
end

View File

@ -70,13 +70,13 @@ ActiveRecord::Schema[7.0].define(version: 2023_05_23_120753) do
t.datetime "confirmed_at", precision: nil
t.datetime "confirmation_sent_at", precision: nil
t.string "unconfirmed_email"
t.datetime "remember_created_at"
t.string "remember_token"
t.text "preferences"
t.text "ln_login_ciphertext"
t.text "ln_password_ciphertext"
t.string "ln_account"
t.string "nostr_pubkey"
t.datetime "remember_created_at"
t.string "remember_token"
t.text "preferences"
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