Database Table Description of "client_status"

Name

client_status

Description

A mapping of the allowed states of a client.

Purpose

Clients have to be approved. This table just enforces referential integrity into the process.

Will be removed.

Schema

CREATE TABLE client_status (
  identifier            integer NOT NULL PRIMARY KEY,
  value                 varchar(12)
);

References tables

None.

Is referenced by tables

Related sequences

Related indexes

None.

Related functions

None.

Related views

History

Used first

Version 2.5

Used last

Still in use

Schema change history

= Version 2.5 =

CREATE TABLE client_status (
  identifier            integer NOT NULL PRIMARY KEY,
  value                 varchar(12)
);
Data change history

= Version 2.5 =

INSERT INTO client_status VALUES (NEXTVAL('client_status_id_sequence'), 'Pending');
INSERT INTO client_status VALUES (NEXTVAL('client_status_id_sequence'), 'Accepted');
INSERT INTO client_status VALUES (NEXTVAL('client_status_id_sequence'), 'Rejected');