Sha256: 697f113af4caba5825f85314bbeb320d1ad838bfeb86501ede25bb0ab289a740

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

class CreateSiteDetails < ActiveRecord::Migration
  def self.up
    create_table :site_details do |t|
      t.integer :site_id
      t.string :site_url
      t.string :paypal_email_address
      t.string :owner_ip_address
      t.string :site_type

      t.timestamps
    end
  end

  def self.down
    drop_table :site_details
  end
end

Version data entries

7 entries across 6 versions & 1 rubygems

Version Path
ccs_core_gem-0.0.7 lib/generators/ccs_core_gem/templates/create_site_details.rb
ccs_core_gem-0.0.7 db/migrate/20110114062840_create_site_details.rb
ccs_core_gem-0.0.6 lib/generators/ccs_core_gem/templates/create_site_details.rb
ccs_core_gem-0.0.5 lib/generators/ccs_core_gem/templates/create_site_details.rb
ccs_core_gem-0.0.4 lib/generators/ccs_core_gem/templates/create_site_details.rb
ccs_core_gem-0.0.3 lib/generators/ccs_core_gem/templates/create_site_details.rb
ccs_core_gem-0.0.2 lib/generators/ccs_core_gem/templates/create_site_details.rb