Sha256: f67b32cb15c68caf284c407883971d20a162956593366f2237da28ab0ff0fabd

Contents?: true

Size: 723 Bytes

Versions: 2

Compression:

Stored size: 723 Bytes

Contents

# Copyright (C) 2010 Red Hat, Inc.
# Written by Mohammed Morsi <mmorsi@redhat.com>
#
# This program is free software, you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License
# as published by the Free Software Foundation, either version 3
# of the License, or (at your option) any later version.
# 
# You should have received a copy of the the GNU Affero
# General Public License, along with Polisher. If not, see 
# <http://www.gnu.org/licenses/>

class CreateManagedGems < ActiveRecord::Migration
  def self.up
    create_table :managed_gems do |t|
      t.string        :name
      t.references    :source
    end
  end

  def self.down
    drop_table :managed_gems
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polisher-0.3 db/migrations/002_create_managed_gems.rb
polisher-0.2 db/migrations/002_create_managed_gems.rb