Sha256: 34f16869b156d3eae32a396f14e64ab770d283e880b2b6282155b1dc678defe2

Contents?: true

Size: 409 Bytes

Versions: 9

Compression:

Stored size: 409 Bytes

Contents

class CreateConfirmationcodes < ActiveRecord::Migration
    def self.up
        create_table :confirmationcodes do |t|
            t.column :mailinglist_id, :integer
            t.column :address_id, :integer
            t.column :code, :text, :null => false
            t.column :confirmed, :boolean, :default => false
        end
    end

    def self.down
        drop_table :confirmationcodes
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sugoi-mail-0.0.0 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.1.5 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.0.3 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.0.5 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.0.2 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.1.0 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.0.1 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.3.0 db/migrate/012_create_confirmationcodes.rb
sugoi-mail-0.3.2 db/migrate/012_create_confirmationcodes.rb