Sha256: 28d646129165f60ed2fc7e23cb3fe4b150edce33f49032e1790eeff0f62ccd6c

Contents?: true

Size: 320 Bytes

Versions: 9

Compression:

Stored size: 320 Bytes

Contents

class CreateMailinglists < ActiveRecord::Migration
    def self.up
        create_table :mailinglists do |t|
            t.column :user_id, :integer
            t.column :name, :text, :null => false
            t.column :open, :boolean
        end
    end

    def self.down
        drop_table :mailinglists
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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