Sha256: 28806382d964542b9afbdb3daec0196f972a9db42ffc52b8cc966e82353bb9fd
Contents?: true
Size: 658 Bytes
Versions: 21
Compression:
Stored size: 658 Bytes
Contents
class CreateEmsArticles < ActiveRecord::Migration def change create_table :ems_articles do |t| t.string :slug t.string :title t.text :standfirst t.text :content t.boolean :hot t.boolean :featured t.boolean :toc t.boolean :comment t.string :meta_title t.text :meta_description t.datetime :publish_from t.string :status t.string :content_disposition t.integer :category_id # paperclip t.string :image_file_name t.string :image_content_type t.integer :image_file_size t.datetime :image_updated_at t.timestamps end end end
Version data entries
21 entries across 21 versions & 1 rubygems