From 8febc823cc4048735469e58c574bcb4d92c3cfc7 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 19 Aug 2008 22:49:39 +0000 Subject: Enhancements to notes and entity management: * Default workflow only allows addresses connected to entity_credit_accounts * Default workflow only allows contact info conntected to entity_credit_accounts * Notes now display the Pgsql user that created them * Notes are now displayed with linebreaks properly showing up. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2282 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/Pg-database.sql | 1 + 1 file changed, 1 insertion(+) (limited to 'sql') diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql index 3d2d3f75..102b9255 100644 --- a/sql/Pg-database.sql +++ b/sql/Pg-database.sql @@ -364,6 +364,7 @@ CREATE UNIQUE INDEX note_class_idx ON note_class(lower(class)); CREATE TABLE note (id serial primary key, note_class integer not null references note_class(id), note text not null, vector tsvector not null, created timestamp not null default now(), + created_by text DEFAULT SESSION_USER; ref_key integer not null); CREATE TABLE entity_note(entity_id int references entity(id)) INHERITS (note); -- cgit v1.2.3