Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | INT UNSIGNED | 10 | √ | null |
|
|
||||
| membership_id | INT UNSIGNED | 10 | null |
|
|
FK to Membership table |
||||
| contribution_id | INT UNSIGNED | 10 | √ | null |
|
|
FK to contribution table. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| FK_civicrm_membership_payment_membership_id | Performance | Asc | membership_id |
| UI_contribution_membership | Must be unique | Asc/Asc | contribution_id + membership_id |

