Sha256: 4327245261ba43a59bde1d3bda6154739fe7322e1eed8d5d1df5415f94e99208
Contents?: true
Size: 332 Bytes
Versions: 4
Compression:
Stored size: 332 Bytes
Contents
class CreateIndices < ActiveRecord::Migration def change create_table :indices do |t| t.string :name t.string :page_title 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
4 entries across 4 versions & 1 rubygems