Sha256: c6eb99642e90a84cd6e3628256da2d70e0a0027e945c2465992eaa1fa7f7be79

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

class AddPagesTable < ActiveRecord::Migration[4.2]
  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.beta2 db/migrate/20141114211928_add_pages_table.rb