Sha256: 4d5a12da6a45e813f7bacd72463eb12a5e00376ea317e4f47c56562cb9e55321

Contents?: true

Size: 297 Bytes

Versions: 7

Compression:

Stored size: 297 Bytes

Contents

class CreateSiteSignups < ActiveRecord::Migration
  def self.up
    create_table :site_signups do |t|
      t.string :name
      t.string :email_address
      t.string :requested_url
      t.boolean :active

      t.timestamps
    end
  end

  def self.down
    drop_table :site_signups
  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_signups.rb
ccs_core_gem-0.0.7 db/migrate/20110114070949_create_site_signups.rb
ccs_core_gem-0.0.6 lib/generators/ccs_core_gem/templates/create_site_signups.rb
ccs_core_gem-0.0.5 lib/generators/ccs_core_gem/templates/create_site_signups.rb
ccs_core_gem-0.0.4 lib/generators/ccs_core_gem/templates/create_site_signups.rb
ccs_core_gem-0.0.3 lib/generators/ccs_core_gem/templates/create_site_signups.rb
ccs_core_gem-0.0.2 lib/generators/ccs_core_gem/templates/create_site_signups.rb