Sha256: 6cac2f416ef4c1e2b1dd0c725cf79dd69b3cd6b525157fadea850c1bcf020693
Contents?: true
Size: 354 Bytes
Versions: 4
Compression:
Stored size: 354 Bytes
Contents
class CreateFederailsActivities < ActiveRecord::Migration[7.0] def change create_table :federails_activities do |t| t.references :entity, polymorphic: true, null: false t.string :action, null: false, default: nil t.references :actor, null: false, foreign_key: { to_table: :federails_actors } t.timestamps end end end
Version data entries
4 entries across 4 versions & 1 rubygems