Sha256: 02536ed2e4c8ba85574ff4b9df45e3f90f6fd539bf2b1cc37bae6af9852f7fb4

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

class CreateNews < ActiveRecord::Migration
  class << self
    
    def up
      create_table :lolita_news, :force=>true do |f|
        f.string :body
        f.string :main_image
        f.string  :list_image
        f.timestamps
      end
    end

    def down

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lolita-file-upload-0.2.1 test_orm/db/migrate/03_create_news.rb
lolita-file-upload-0.2.0 test_orm/db/migrate/03_create_news.rb