Sha256: 3935c55653a20e0998118e72b5fd2b4cd63350a47b8262ef46f9e33f1f6c49b0

Contents?: true

Size: 383 Bytes

Versions: 9

Compression:

Stored size: 383 Bytes

Contents

class AddAddressesUsers < ActiveRecord::Migration
    class MailinglistClass < ActiveRecord::Base; end

    def self.up
        create_table :addresses_users, :id => false do |t|
            t.column 'user_id', :integer, :null => false
            t.column 'address_id', :integer, :null => false
        end
    end

    def self.down
        drop_table :addresses_users
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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