Sha256: 70c893f52df276186c642b17abe47309be4ef19187ce2f264205fb85c3a025e5

Contents?: true

Size: 160 Bytes

Versions: 1

Compression:

Stored size: 160 Bytes

Contents

class CreateEvents < Migration
  def change
    create_table(:events) do |t|
      t.string :name
      t.references :venue
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teacup-0.0.1.pre proposals/other/app/db/migrations/20120514201043_create_events.rb