Sha256: 45b9cef57d07e36a2fca5d2ce98a4cd1a755d3b1b206a465062c124b82949ef9
Contents?: true
Size: 825 Bytes
Versions: 15
Compression:
Stored size: 825 Bytes
Contents
class CreatePages < ActiveRecord::Migration def self.up create_table ConstructorPages::Page.table_name do |t| t.boolean :active, :default => true t.string :name, :default => "" t.boolean :auto_url, :default => true t.string :full_url, :default => "" t.string :url, :default => "" t.string :link, :default => "" t.string :title, :default => "" t.string :keywords, :default => "" t.text :description, :default => "" t.boolean :in_menu, :default => true t.boolean :in_nav, :default => true t.boolean :in_map, :default => true t.integer :parent_id t.integer :lft t.integer :rgt t.references :template t.timestamps end end def self.down drop_table ConstructorPages::Page.table_name end end
Version data entries
15 entries across 15 versions & 2 rubygems