Sha256: c8ed15ec5b0727c2dee1a88e93350c31106708f431fa42a4a3b91fb9470eeee5

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

class CreateLegacyColors < ActiveRecord::Migration
  def self.up
    create_table :legacy_colors, :primary_key => 'uid' do |t|
      t.string :name, :null => false
      t.string :html
    end
  end
  
  def self.down
    drop_table :legacy_colors
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enumerate_by-0.4.4 test/app_root/db/migrate/005_create_legacy_colors.rb