Sha256: 95eda0ac809ddfce508c6e6a4fc6c481a01717c921988a234204c948c2ef1e04

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 Bytes

Contents

# -*- encoding : utf-8 -*-
class CreateLoyalAdminDisplayRecipes < ActiveRecord::Migration
  def change
    create_table :loyal_admin_display_recipes do |t|
      t.string :url   # url链接
      t.string :text
      t.string :title
      t.text   :content

      t.string :style # 样式表

      t.integer :publish_status

      t.integer :open_style

      t.datetime :start_at
      t.datetime :end_at
      
      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
loyal_admin-0.0.4 db/migrate/20130503053259_create_loyal_admin_display_recipes.rb
loyal_admin-0.0.3 db/migrate/20130503053259_create_loyal_admin_display_recipes.rb
loyal_admin-0.0.2 db/migrate/20130503053259_create_loyal_admin_display_recipes.rb
loyal_admin-0.0.1 db/migrate/20130503053259_create_loyal_admin_display_recipes.rb