class CreateContributions < ActiveRecord::Migration[7.0] def change create_table :contributions, id: :uuid do |t| t.references :member, type: :uuid, foreign_key: true, null: false t.integer :eurocents, null: false t.date :payment_on, null: false t.string :payment_method t.string :payment_reference t.timestamps end end end