diff --git a/db/migrate/20230304155240_add_nostr_pubkey_to_users.rb b/db/migrate/20230304155240_add_nostr_pubkey_to_users.rb new file mode 100644 index 0000000..4cb4e8b --- /dev/null +++ b/db/migrate/20230304155240_add_nostr_pubkey_to_users.rb @@ -0,0 +1,5 @@ +class AddNostrPubkeyToUsers < ActiveRecord::Migration[7.0] + def change + add_column :users, :nostr_pubkey, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 7f06b96..28851e7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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