Sha256: 836d3a7af023c7d30a14fa66af520270fac0799c98ff39d25728b8311422553a
Contents?: true
Size: 421 Bytes
Versions: 5
Compression:
Stored size: 421 Bytes
Contents
class CreateTasksTaskablesImageResponses < ActiveRecord::Migration def change create_table :tasks_taskables_image_responses do |t| t.string :image t.references :request, index: true t.references :author, polymorphic: true t.timestamps end add_index :tasks_taskables_image_responses, [:author_id, :author_type], unique: true, name: 'tasks_taskable_image_responses_author' end end
Version data entries
5 entries across 5 versions & 1 rubygems