Sha256: 1a0cb332f2047ece721393260e9906523220a9543b8a3b944251a1e178c4fa14

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

class CreateComputeResources < ActiveRecord::Migration
  def self.up
    create_table :compute_resources do |t|
      t.string :name
      t.string :description
      t.string :url
      t.string :user
      t.string :password
      t.string :uuid
      t.string :type

      t.timestamps
    end
  end

  def self.down
    drop_table :compute_resources
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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