Sha256: 2f627dc58c3fd87a3e045ffcbd7b5941ec8ad4d012f012ab5b5e3726f5716415

Contents?: true

Size: 215 Bytes

Versions: 8

Compression:

Stored size: 215 Bytes

Contents

class CreateColors < ActiveRecord::Migration
  def self.up
    create_table :colors do |t|
      t.string :name, :null => false
      t.string :html
    end
  end
  
  def self.down
    drop_table :colors
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
mschuerig-enumerate_by-0.4.2 test/app_root/db/migrate/001_create_colors.rb
pluginaweek-enumerate_by-0.4.2 test/app_root/db/migrate/001_create_colors.rb
pluginaweek-enumerate_by-0.4.3 test/app_root/db/migrate/001_create_colors.rb
enumerate_by-0.4.4 test/app_root/db/migrate/001_create_colors.rb
enumerate_by-0.4.0 test/app_root/db/migrate/001_create_colors.rb
enumerate_by-0.4.1 test/app_root/db/migrate/001_create_colors.rb
enumerate_by-0.4.3 test/app_root/db/migrate/001_create_colors.rb
enumerate_by-0.4.2 test/app_root/db/migrate/001_create_colors.rb