Add mastodon_id to users

This commit is contained in:
Râu Cao 2025-05-17 16:44:13 +04:00
parent f0cfde560b
commit c291765777
Signed by: raucao
GPG Key ID: 37036C356E56CC51
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddMastodonIdToUsers < ActiveRecord::Migration[8.0]
def change
add_column :users, :mastodon_id, :bigint
end
end

View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_05_06_154628) do
ActiveRecord::Schema[8.0].define(version: 2025_05_17_105755) do
create_table "active_storage_attachments", force: :cascade do |t|
t.string "name", null: false
t.string "record_type", null: false
@ -133,6 +133,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_06_154628) do
t.string "pgp_fpr"
t.string "lndhub_username"
t.text "lndhub_password"
t.bigint "mastodon_id"
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