Sha256: 19e98a32a33bbac0f28529b58289b4870cba39d615f67a6e5906b43c877f35d8

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

class CreateTags < ActiveRecord::Migration
  class << self
    
    def up
      create_table :lolita_tags, :force=>true do |f|
        f.string :name
        f.integer :news_id
      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/04_create_tags.rb
lolita-file-upload-0.2.0 test_orm/db/migrate/04_create_tags.rb