Sha256: 5df1474067f7ac39fc58ee8b78b72b823ca07d164327a6afe0baea12376cd09b
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
class CreateCardboardPages < ActiveRecord::Migration def change create_table :cardboard_pages do |t| t.string :title t.string :path t.string :slug t.text :slugs_backup t.integer :position t.text :meta_seo t.boolean :in_menu, default: true t.string :identifier, unique: true t.timestamps end add_index :cardboard_pages, [:path, :slug], :unique => true add_index :cardboard_pages, :identifier, :unique => true end end
Version data entries
6 entries across 3 versions & 1 rubygems