Sha256: f04c386865b9155497a40f78aaccfbde006d878de87c94988babf607f39166ad
Contents?: true
Size: 361 Bytes
Versions: 19
Compression:
Stored size: 361 Bytes
Contents
class CreateStorytimeVersions < ActiveRecord::Migration def change create_table :storytime_versions do |t| t.text :content t.references :user, index: true t.references :versionable, polymorphic: true t.timestamps end add_index :storytime_versions, [:versionable_type, :versionable_id], name: "versionable_index" end end
Version data entries
19 entries across 19 versions & 1 rubygems