Sha256: 605a0f5d388e24afa47194be1eb7f687b5d2e118a8f636f21152c24a469f9f6e

Contents?: true

Size: 249 Bytes

Versions: 8

Compression:

Stored size: 249 Bytes

Contents

class CreateSpudCalendars < ActiveRecord::Migration
  def change
    create_table :spud_calendars do |t|
      t.string :title
      t.column :color, 'binary(6)'
      
      t.timestamps
    end
    
    add_index :spud_calendars, :title
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
tb_events-1.1.2 db/migrate/20120216191833_create_spud_calendars.rb
tb_events-1.2.0.beta1 db/migrate/20120216191833_create_spud_calendars.rb
tb_events-1.1.1 db/migrate/20120216191833_create_spud_calendars.rb
tb_events-1.1.0 db/migrate/20120216191833_create_spud_calendars.rb
spud_events-0.9.0 db/migrate/20120216191833_create_spud_calendars.rb
tb_events-1.0.2 db/migrate/20120216191833_create_spud_calendars.rb
tb_events-1.0.1 db/migrate/20120216191833_create_spud_calendars.rb
tb_events-1.0 db/migrate/20120216191833_create_spud_calendars.rb