Sha256: 0eaeaf7ff0187440ea42f5abb64d4ea81c74aa33cd504a270db74ae3b75649d6

Contents?: true

Size: 228 Bytes

Versions: 39

Compression:

Stored size: 228 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

39 entries across 39 versions & 1 rubygems

Version Path
lolita-file-upload-1.0.5 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-1.0.4 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-1.0.3 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-1.0.2 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-1.0.1 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-1.0.0 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.8.3 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.8.2 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.8.1 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.8.0 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.7.3 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.7.2 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.7.1 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.6.2 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.6.1 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.6.0 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.5.0 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.4.13 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.4.12 test_orm/db/migrate/04_create_tags.rb
lolita-file-upload-0.4.11 test_orm/db/migrate/04_create_tags.rb