Sha256: a1c3388d415eba74ebb4f5ea136916f93269134740d093fe00fbd558b3e4e260

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 Bytes

Contents

superclass = ActiveRecord::Migration
superclass = ActiveRecord::Migration[5.1] if superclass.respond_to?(:[])

class CreateTheAnswers < superclass
  def change
    create_table :the_answers do |t|
      t.string :ultimate_truth
      t.references :lexicon, index: true

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
human_attribute_values-1.2.2 test/dummy/db/migrate/20150127220502_create_the_answers.rb
human_attribute_values-1.2.1 test/dummy/db/migrate/20150127220502_create_the_answers.rb
human_attribute_values-1.2.0 test/dummy/db/migrate/20150127220502_create_the_answers.rb
human_attribute_values-1.1.1 test/dummy/db/migrate/20150127220502_create_the_answers.rb