Sha256: 9a6a718560603a4f4acd78f73ba49b5fdd453467e6840c9da19429f932ca06e1

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 Bytes

Contents

class CreateCambiumPages < ActiveRecord::Migration
  def change
    create_table :cambium_pages do |t|
      t.string :title
      t.string :slug
      t.text :description
      t.text :markdown
      t.text :html
      t.string :template_name
      t.string :ancestry
      t.integer :position, :default => 0
      t.json :template_data, :default => {}
      t.datetime :active_at
      t.datetime :inactive_at

      t.timestamps null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cambium-1.3.2 db/migrate/20160107161039_create_cambium_pages.rb
cambium-1.3.1 db/migrate/20160107161039_create_cambium_pages.rb
cambium-1.3.0 db/migrate/20160107161039_create_cambium_pages.rb