Table core.fiscal_year
Information on fiscal year.
# Column Name Nullable Data Type Max Length Description
1fiscal_year_codecharacter varying12The primary key of this table, which is also a serial field.
2fiscal_year_namecharacter varying50Current fiscal year, which is a unique field.
3starts_fromdate0The date fiscal year begins.
4ends_ondate0The date fiscal year ends.
5audit_user_idinteger0Contains the id of the user who last inserted or updated the corresponding row.
6audit_tstimestamp with time zone0Contains the date and timestamp of the last insert or update action.

Foreign Keys

# Column Name Key Name References
5 audit_user_id fiscal_year_audit_user_id_fkey office.users.user_id

Indices

Index Name Owner Access Method Definition Description
fiscal_year_pkey postgres btree fiscal_year_code
fiscal_year_ends_on_uix postgres btree ends_on
fiscal_year_starts_from_uix postgres btree starts_from
fiscal_year_fiscal_year_name_uix postgres btree upper(fiscal_year_name::text)

Check Constraints

Constraint Name Description

Default Values

# Column Name Default
6 audit_ts now()

Triggers

Trigger Name Targets On Event Timing Condition Order Orientation Description