Sha256: d4a0b35f9d4a13531ab8ab2bfe369ca5030e6413e9cecdbc25c3e36d78240caf

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

class CreateContentTypeGroups < ActiveRecord::Migration
  def self.up
    create_table :content_type_groups do |t|
      t.string :name

      t.timestamps
    end
    ContentTypeGroup.create!(:name => "Core")
  end

  def self.down
    drop_table :content_type_groups
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nate-browsercms-3.0.210 db/migrate/20080815014736_create_content_type_groups.rb
nate-browsercms-3.0.211 db/migrate/20080815014736_create_content_type_groups.rb