Sha256: 37bdd3c31779172abcb58af2c1465c5f11685519a76c0a7c2444d94aa4708176
Contents?: true
Size: 461 Bytes
Versions: 10
Compression:
Stored size: 461 Bytes
Contents
class CreateFlexibleFeedsModeratorJoins < ActiveRecord::Migration def change create_table :flexible_feeds_moderator_joins do |t| t.integer :feed_id t.integer :moderator_id t.string :moderator_type t.timestamps end add_index :flexible_feeds_moderator_joins, :feed_id add_index :flexible_feeds_moderator_joins, [:moderator_id, :moderator_type], name: "flexible_feeds_moderator_joins_on_moderator" end end
Version data entries
10 entries across 10 versions & 1 rubygems