Sha256: f08605ee503ab4407114e5c5d50d45aec1d8dd6e8142f8c36a0652ef74e5a843
Contents?: true
Size: 401 Bytes
Versions: 9
Compression:
Stored size: 401 Bytes
Contents
class CreateIndices < ActiveRecord::Migration def change create_table :indices do |t| t.string :name t.string :title t.string :slug t.string :page_title t.integer :priority t.text :keywords t.text :page_description t.integer :owner_id t.string :owner_type t.timestamps end add_index :indices, :slug, :unique => true end end
Version data entries
9 entries across 9 versions & 1 rubygems