From a67e4a902d371c4c3f8b0ccbee4cc66df87b27e4 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 29 Oct 2015 23:37:54 -0400 Subject: [PATCH 1/1] Add missing principal stuff to the Davical fixtures. --- test/sql/davical-fixtures.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/sql/davical-fixtures.sql b/test/sql/davical-fixtures.sql index 775fa6b..5abf7a6 100644 --- a/test/sql/davical-fixtures.sql +++ b/test/sql/davical-fixtures.sql @@ -6,3 +6,11 @@ INSERT INTO usr (user_no, username) VALUES (17, 'alice@example.com'); */ INSERT INTO usr_setting (user_no, setting_name, setting_value) VALUES (17, 'dumb setting', 'its dumb value'); + +/* Create a "Person" principal type... */ +INSERT INTO principal_type (principal_type_id, principal_type_desc) + VALUES (1, 'Person'); + +/* ...and assign it to the new user. */ +INSERT INTO principal (type_id, user_no, displayname, default_privileges) + VALUES (1, 17, 'Alice', '000000000001111000000000'); -- 2.43.2