Sha256: 09a8ce6d74222e7156beb4620762e5fda870e7d9a16e78e0e6e616b1b4706232
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
class CreateEcmReferencesCategories < ActiveRecord::Migration def change create_table :ecm_references_categories do |t| t.string :name t.text :description t.string :locale # acts as markup t.string :markup_language # awesome nested set t.integer :lft t.integer :rgt t.references :parent t.integer :depth # friendly id t.string :slug t.timestamps end add_index :ecm_references_categories, :parent_id end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecm_references-0.0.1.pre | db/migrate/001_create_ecm_references_categories.rb |