Sha256: bb188b5b8eab5cb429fe742276a00144993a1ae6d15bfd766631491373744069

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.8 db/migrate/001_create_ecm_cms_core_folders.rb
ecm_cms_core-0.0.7 db/migrate/001_create_ecm_cms_core_folders.rb
ecm_cms_core-0.0.6 db/migrate/001_create_ecm_cms_core_folders.rb
ecm_cms_core-0.0.5 db/migrate/001_create_ecm_cms_core_folders.rb
ecm_cms_core-0.0.3 db/migrate/001_create_ecm_cms_core_folders.rb
ecm_cms_core-0.0.2 db/migrate/001_create_ecm_cms_core_folders.rb