jl/schema/tables/bpr.sql

12 lines
428 B
MySQL
Raw Normal View History

2018-09-12 14:48:59 -04:00
--------------------------event log table-------------------------------------------
CREATE TABLE evt.bpr (
id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY
,bpr JSONB
,bprh JSONB
,stmp timestamptz
);
2018-09-27 12:49:12 -04:00
COMMENT ON TABLE evt.bpr IS 'log of events';
2018-09-12 14:48:59 -04:00
COMMENT ON COLUMN evt.bpr.bpr IS 'basic pecuniary record';
2018-09-27 12:49:12 -04:00
COMMENT ON COLUMN evt.bpr.bprh IS 'history';
2018-09-12 00:48:44 -04:00
COMMENT ON COLUMN evt.bpr.stmp IS 'insert time';