···11+class AddSubscriptions < ActiveRecord::Migration[7.2]
22+ def change
33+ create_table :subscriptions do |t|
44+ t.string "service", null: false
55+ t.bigint "cursor", null: false
66+ end
77+ end
88+end
+6-1
db/schema.rb
···1010#
1111# It's strongly recommended that you check this file into your version control system.
12121313-ActiveRecord::Schema[7.2].define(version: 2025_09_06_233017) do
1313+ActiveRecord::Schema[7.2].define(version: 2025_09_18_024627) do
1414 # These are extensions that must be enabled in order to support this database
1515 enable_extension "plpgsql"
1616···7373 t.string "post_uri"
7474 t.index ["actor_id", "rkey"], name: "index_reposts_on_actor_id_and_rkey", unique: true
7575 t.index ["actor_id", "time", "id"], name: "index_reposts_on_actor_id_and_time_and_id", order: { time: :desc, id: :desc }
7676+ end
7777+7878+ create_table "subscriptions", force: :cascade do |t|
7979+ t.string "service", null: false
8080+ t.bigint "cursor", null: false
7681 end
77827883 create_table "users", id: :serial, force: :cascade do |t|