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