Sha256: deddd101057c226b7ab0dcc3ee00d6e040ffb4e9e6b1ba70842f0f9f13ac1ec3
Contents?: true
Size: 613 Bytes
Versions: 2
Compression:
Stored size: 613 Bytes
Contents
class CreateFederailsActors < ActiveRecord::Migration[7.0] def change create_table :federails_actors do |t| t.string :name t.string :federated_url t.string :username t.string :server t.string :inbox_url t.string :outbox_url t.string :followers_url t.string :followings_url t.string :profile_url t.integer :entity_id, null: true t.string :entity_type, null: true t.timestamps t.index :federated_url, unique: true t.index [:entity_type, :entity_id], name: 'index_federails_actors_on_entity', unique: true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
federails-0.4.0 | db/migrate/20200712133150_create_federails_actors.rb |
federails-0.3.0 | db/migrate/20200712133150_create_federails_actors.rb |