Sha256: 653c6c26a3237b0cbb4aa8d81d93fbc13ff566a440b377b8a180d6037e04a16f
Contents?: true
Size: 497 Bytes
Versions: 8
Compression:
Stored size: 497 Bytes
Contents
class CreateEcmCoursesCourseCategories < ActiveRecord::Migration def change create_table :ecm_courses_course_categories do |t| t.string :name t.text :description t.string :locale t.integer :position t.integer :ecm_courses_courses_count, default: 0, null: false # awesome nested set t.integer :parent_id t.integer :lft t.integer :rgt t.integer :depth # friendly id t.string :slug t.timestamps end end end
Version data entries
8 entries across 8 versions & 1 rubygems