Sha256: f433738d4bd3f847705192a4b0534412620b11d21944e95085d99ef29c545398

Contents?: true

Size: 226 Bytes

Versions: 23

Compression:

Stored size: 226 Bytes

Contents

class CreateMeetings < ActiveRecord::Migration
  def self.up
    create_table :meetings do |t|
      t.date :starts_at
      t.date :ends_at
      t.timestamps
    end
  end

  def self.down
    drop_table :meetings
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
validates_overlap-0.0.4 spec/dummy/db/migrate/20110406082020_create_meetings.rb
validates_overlap-0.0.3 spec/dummy/db/migrate/20110406082020_create_meetings.rb
validates_overlap-0.0.1 spec/dummy/db/migrate/20110406082020_create_meetings.rb