Sha256: fd00b3a43802e40e63869dd8106663f44b794b4f6a07a476c373c35c26f85d91

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

# This migration comes from ecm_cms_core_engine (originally 1)
class CreateEcmCmsCoreFolders < ActiveRecord::Migration
  def change
    create_table :ecm_cms_core_folders do |t|
      t.references :parent
      t.string :basename
      t.string :pathname
      t.integer :lft
      t.integer :rgt
      t.integer :depth
      t.integer :children_count, :default => 0
      t.integer :templates_count, :default => 0

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.3 test/dummy/db/migrate/20120622211432_create_ecm_cms_core_folders.ecm_cms_core_engine.rb
ecm_cms_core-0.0.2 test/dummy/db/migrate/20120622211432_create_ecm_cms_core_folders.ecm_cms_core_engine.rb