Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| ID | serial | 10 | √ | nextval('"変更履歴データ_ID_seq"'::regclass) |
|
|
||
| テーブル名 | varchar | 100 | null |
|
|
|||
| レコードID | varchar | 100 | null |
|
|
|||
| 操作種別 | varchar | 10 | null |
|
|
|||
| 変更日時 | timestamp | 29,6 | null |
|
|
|||
| 変更者 | varchar | 50 | null |
|
|
|||
| 変更前データ | jsonb | 2147483647 | √ | null |
|
|
||
| 変更後データ | jsonb | 2147483647 | √ | null |
|
|
||
| 変更理由 | text | 2147483647 | √ | null |
|
|
||
| 作成日時 | timestamp | 29,6 | CURRENT_TIMESTAMP |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| 変更履歴データ_pkey | Primary key | Asc | ID |
| idx_変更履歴_テーブル名 | Performance | Asc | テーブル名 |
| idx_変更履歴_レコードID | Performance | Asc | レコードID |
| idx_変更履歴_変更日時 | Performance | Asc | 変更日時 |
