Sha256: ad71d23d56ff9b32e3150df66b40d3eac4e2f0c0e591e8e0f5e59ab73698b81d

Contents?: true

Size: 373 Bytes

Versions: 5

Compression:

Stored size: 373 Bytes

Contents

class CreateTasksTaskablesVerifications < ActiveRecord::Migration
  def change
    create_table :tasks_taskables_verifications do |t|
      t.references :verifiable, polymorphic: true

      t.timestamps
    end

    add_index :tasks_taskables_verifications, [:verifiable_id, :verifiable_type], unique: true, name: 'index_tasks_taskable_verifications_verifiable'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tasuku-1.1.0 db/migrate/20140315152116_create_tasks_taskables_verifications.rb
tasuku-1.0.1 db/migrate/20140315152116_create_tasks_taskables_verifications.rb
tasuku-0.1.1 db/migrate/20140315152116_create_tasks_taskables_verifications.rb
tasuku-0.1.0 db/migrate/20140315152116_create_tasks_taskables_verifications.rb
tasuku-0.0.1 db/migrate/20140315152116_create_tasks_taskables_verifications.rb