Sha256: 9d8369d975dec49926073c2b8cfdb9a3cd91187df7e3959bd69681379a11634d
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
class CreatePages < ActiveRecord::Migration def change 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 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
constructor-pages-1.0.0beta2 | db/migrate/1_create_pages.rb |