Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abuiles/453250 to your computer and use it in GitHub Desktop.
Save abuiles/453250 to your computer and use it in GitHub Desktop.
class CreateTurkQualificationTypes < ActiveRecord::Migration
def self.up
create_table :turk_qualification_types do |t|
t.string :QualificationTypeId
t.string :Name
t.text :Description
t.text :Keywords
t.integer :RetryDelayInSecond
t.string :QualificationTypeStatus
t.string :Test
t.string :AnswerKey
t.integer :TestDurationInSeconds
t.boolean :AutoGranted
t.integer :AutoGrantedValue
t.boolean :IsRequestable
t.timestamps
end
end
def self.down
drop_table :turk_qualification_types
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment