Sha256: d6fd2a2ae1a151b12aceb44570c2fab8fb6d67d2ee109d485685994d5a60b9ef

Contents?: true

Size: 223 Bytes

Versions: 5

Compression:

Stored size: 223 Bytes

Contents

class CreateNewsletter < ActiveRecord::Migration
  def self.up
    create_table :newsletters do |t|
        t.column :email, :string
        t.timestamps
    end
  end

  def self.down
    drop_table :newsletters
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 db/migrate/20101216155044_create_newsletter.rb
forgeos_cms-1.9.4 db/migrate/20101216155044_create_newsletter.rb
forgeos_cms-1.9.2 db/migrate/20101216155044_create_newsletter.rb
forgeos_cms-1.9.1 db/migrate/20101216155044_create_newsletter.rb
forgeos_cms-1.9.0 db/migrate/20101216155044_create_newsletter.rb