Sha256: cefc6f5d729937a7239af9dbc95e123056041d3d706e8e6fd02cb3fdee648249

Contents?: true

Size: 382 Bytes

Versions: 5

Compression:

Stored size: 382 Bytes

Contents

class CreateTurkeeStudy < ActiveRecord::Migration

    def self.up
        create_table "turkee_studies" do |t|
            t.integer "turkee_task_id"
            t.text "feedback"
            t.string "gold_response"
            t.timestamps
        end

        add_index :turkee_studies, :turkee_task_id
    end

    def self.down
        drop_table :turkee_studies
    end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
turkee_rails4-2.0.4 lib/generators/turkee/templates/create_turkee_study.rb.erb
turkee_rails4-2.0.3 lib/generators/turkee/templates/create_turkee_study.rb.erb
turkee-2.0.2 lib/generators/turkee/templates/create_turkee_study.rb.erb
turkee-2.0.1 lib/generators/turkee/templates/create_turkee_study.rb.erb
turkee-2.0.0 lib/generators/turkee/templates/create_turkee_study.rb.erb