Sha256: 814849b49f958ad75bb21a4a6b60a1a5bba3fd091b5437099a8b52357220af89

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

class CreateProxies < ActiveRecord::Migration
  def self.up
    create_table :smart_proxies do |t|
      t.string :name
      t.string :url
      t.timestamps
    end
  end

  def self.down
    drop_table :smart_proxies
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/db/migrate/20101130100315_create_proxies.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/db/migrate/20101130100315_create_proxies.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/db/migrate/20101130100315_create_proxies.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/db/migrate/20101130100315_create_proxies.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/db/migrate/20101130100315_create_proxies.rb