Sha256: a1093d386d26560aa8f39e8b435ff9ccab622eadc5693b033602aef1636a5580

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

# This migration comes from calagator (originally 1)
class CreateEvents < ActiveRecord::Migration
  def self.up
    create_table :events do |t|
      t.string :title
      t.text :description
      t.timestamp :start_time
      t.integer :venue_id
      t.string :url

      t.timestamps
    end
  end

  def self.down
    drop_table :events
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calagator-0.0.1.pre1 spec/dummy/db/migrate/20150309023304_create_events.calagator.rb