Sha256: cd827633ec114580cffbaf0fb72447601d38378264b76f163f5684319e21ee01

Contents?: true

Size: 429 Bytes

Versions: 6

Compression:

Stored size: 429 Bytes

Contents

class CreateComablePages < ActiveRecord::Migration
  def change
    create_table :comable_pages do |t|
      t.string :title, null: false
      t.text :content, null: false
      t.string :page_title
      t.string :meta_description
      t.string :meta_keywords
      t.string :slug, null: false
      t.datetime :published_at

      t.timestamps null: false
    end

    add_index :comable_pages, :slug, unique: true
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
comable-core-0.7.1 db/migrate/20150519080729_create_comable_pages.rb
comable-core-0.7.0 db/migrate/20150519080729_create_comable_pages.rb
comable-core-0.7.0.beta2 db/migrate/20150519080729_create_comable_pages.rb
comable-core-0.7.0.beta1 db/migrate/20150519080729_create_comable_pages.rb
comable-core-0.6.0 db/migrate/20150519080729_create_comable_pages.rb
comable_core-0.5.0 db/migrate/20150519080729_create_comable_pages.rb