| # | Column Name | Nullable | Data Type | Max Length | Description |
|---|---|---|---|---|---|
| 1 | bonus_slab_id | integer | 0 | The primary key of the table, which is also a serial field | |
| 2 | bonus_slab_code | character varying | 12 | Code given to the column. | |
| 3 | bonus_slab_name | character varying | 50 | Name of the colum, which is a also unique field. | |
| 4 | effective_from | date | 0 | The effective date of the bonus slab. | |
| 5 | ends_on | date | 0 | The ending date of the bonus slab. | |
| 6 | checking_frequency_id | integer | 0 | Time-interval for calculation of bonus | |
| 7 | audit_user_id | integer | 0 | Contains the id of the user who last inserted or updated the corresponding row. | |
| 8 | audit_ts | timestamp with time zone | 0 | Contains the date and timestamp of the last insert or update action. |
| # | Column Name | Key Name | References |
|---|---|---|---|
| 6 | checking_frequency_id | bonus_slabs_checking_frequency_id_fkey | core.frequencies.frequency_id |
| 7 | audit_user_id | bonus_slabs_audit_user_id_fkey | office.users.user_id |
| Index Name | Owner | Access Method | Definition | Description |
|---|---|---|---|---|
| bonus_slabs_pkey | postgres | btree | bonus_slab_id | |
| bonus_slabs_bonus_slab_name_uix | postgres | btree | upper(bonus_slab_name::text) | |
| bonus_slabs_bonus_slab_code_uix | postgres | btree | upper(bonus_slab_code::text) |
| Constraint Name | Description |
|---|
| # | Column Name | Default |
|---|---|---|
| 1 | bonus_slab_id | nextval('core.bonus_slabs_bonus_slab_id_seq'::regclass) |
| 8 | audit_ts | now() |
| Trigger Name | Targets | On Event | Timing | Condition | Order | Orientation | Description |
|---|