Sha256: a5a611ec5548e604b17a8f7a4346942817e6d7d68d29522e2ace2077c2b36cde
Contents?: true
Size: 636 Bytes
Versions: 9
Compression:
Stored size: 636 Bytes
Contents
class CreateBlogelatorPosts < ActiveRecord::Migration def change create_table :blogelator_posts do |t| # Associations t.belongs_to :author, index: true # Attributes t.text :body_html t.text :body_markdown t.boolean :featured t.attachment :image t.string :meta_description t.string :meta_keywords t.datetime :published_at t.string :slug, index: true t.integer :status, default: 0 t.text :summary_html t.text :summary_markdown t.string :title t.timestamps null: false end end end
Version data entries
9 entries across 9 versions & 1 rubygems