Sha256: 308333214de3dc66d4a5e453b878e6ca3839d7b81393dfa14f29f3656ba7cfbc
Contents?: true
Size: 481 Bytes
Versions: 35
Compression:
Stored size: 481 Bytes
Contents
class CreateFieldTests < ActiveRecord::Migration def self.up create_table :field_tests do |t| t.string :string_field t.text :text_field t.integer :integer_field t.float :float_field t.decimal :decimal_field t.datetime :datetime_field t.timestamp :timestamp_field t.time :time_field t.date :date_field t.boolean :boolean_field t.timestamps end end def self.down drop_table :field_tests end end
Version data entries
35 entries across 35 versions & 6 rubygems