Sha256: 98cf60d03794ce4ef7abd947f8645e7b6037226e3af363820c2c65bce2453fdd

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

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

  add_field :integer, :additional_field
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
automigration-1.0.3 spec/dummy/app/models/auto_migration1.rb
automigration-1.0.2 spec/dummy/app/models/auto_migration1.rb
automigration-1.0.1 spec/dummy/app/models/auto_migration1.rb
automigration-1.0.0 spec/dummy/app/models/auto_migration1.rb