Sha256: 689c84ea03fb71304c90905ddb2ca3663934f898678955151af58c2c5b669a3e

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

class AutoMigration1 < ActiveRecord::Base
  has_fields do |f|
    f.integer :integer_field
    f.float :float_field
    f.boolean :boolean_field
    f.string :string_field
    f.text :text_field
    f.datetime :datetime_field
    f.date :date_field
    f.time :time_field
  end

  add_field :integer, :additional_field
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
automigration-0.2.2 test/models/auto_migration1.rb
automigration-0.2.1 test/models/auto_migration1.rb