Sha256: 6bd98b4dc24bc01ef2818d4be2fa81674898d32451af7b83ec4fc1a683523440

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

class AddPagesTable < ActiveRecord::Migration
  def change
    create_table :cavy_pages do |t|
      t.hstore  :title
      t.hstore  :content
      t.hstore  :data
      t.string  :render
      t.string  :route
      t.text    :description
      t.string  :tags, array: true
      t.json    :page_elements
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cavy-0.1.0.beta1 db/migrate/20141114211928_add_pages_table.rb