Sha256: d5751eacc9cc9609c6cc75aa971b9627ab1a5ecab9f6943d724d0973b19df7e1
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
class CreateFederailsFollowings < ActiveRecord::Migration[7.0] def change create_table :federails_followings do |t| t.references :actor, null: false, foreign_key: { to_table: :federails_actors } t.references :target_actor, null: false, foreign_key: { to_table: :federails_actors } t.integer :status, default: 0 t.string :federated_url t.timestamps t.index [:actor_id, :target_actor_id], unique: true end end end
Version data entries
4 entries across 4 versions & 1 rubygems