From 8f745a1e07177d1393d3d77f9cd463aa4787b066 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 1 Sep 2013 13:03:05 +0000 Subject: [PATCH] Webapp: update empty.sql to latest db design svn: r22995 --- gramps/webapp/empty.sql | 890 ++++++++++++++++++++-------------------- 1 file changed, 451 insertions(+), 439 deletions(-) diff --git a/gramps/webapp/empty.sql b/gramps/webapp/empty.sql index 1e8d6b1e4..579873711 100644 --- a/gramps/webapp/empty.sql +++ b/gramps/webapp/empty.sql @@ -7,192 +7,189 @@ CREATE TABLE "auth_permission" ( "codename" varchar(100) NOT NULL, UNIQUE ("content_type_id", "codename") ); -INSERT INTO "auth_permission" VALUES(1,'Can add permission',1,'add_permission'); -INSERT INTO "auth_permission" VALUES(2,'Can change permission',1,'change_permission'); -INSERT INTO "auth_permission" VALUES(3,'Can delete permission',1,'delete_permission'); -INSERT INTO "auth_permission" VALUES(4,'Can add group',2,'add_group'); -INSERT INTO "auth_permission" VALUES(5,'Can change group',2,'change_group'); -INSERT INTO "auth_permission" VALUES(6,'Can delete group',2,'delete_group'); -INSERT INTO "auth_permission" VALUES(7,'Can add user',3,'add_user'); -INSERT INTO "auth_permission" VALUES(8,'Can change user',3,'change_user'); +INSERT INTO "auth_permission" VALUES(1,'Can add group',2,'add_group'); +INSERT INTO "auth_permission" VALUES(2,'Can add permission',1,'add_permission'); +INSERT INTO "auth_permission" VALUES(3,'Can add user',3,'add_user'); +INSERT INTO "auth_permission" VALUES(4,'Can change group',2,'change_group'); +INSERT INTO "auth_permission" VALUES(5,'Can change permission',1,'change_permission'); +INSERT INTO "auth_permission" VALUES(6,'Can change user',3,'change_user'); +INSERT INTO "auth_permission" VALUES(7,'Can delete group',2,'delete_group'); +INSERT INTO "auth_permission" VALUES(8,'Can delete permission',1,'delete_permission'); INSERT INTO "auth_permission" VALUES(9,'Can delete user',3,'delete_user'); -INSERT INTO "auth_permission" VALUES(10,'Can add message',4,'add_message'); -INSERT INTO "auth_permission" VALUES(11,'Can change message',4,'change_message'); -INSERT INTO "auth_permission" VALUES(12,'Can delete message',4,'delete_message'); -INSERT INTO "auth_permission" VALUES(13,'Can add content type',5,'add_contenttype'); -INSERT INTO "auth_permission" VALUES(14,'Can change content type',5,'change_contenttype'); -INSERT INTO "auth_permission" VALUES(15,'Can delete content type',5,'delete_contenttype'); -INSERT INTO "auth_permission" VALUES(16,'Can add session',6,'add_session'); -INSERT INTO "auth_permission" VALUES(17,'Can change session',6,'change_session'); -INSERT INTO "auth_permission" VALUES(18,'Can delete session',6,'delete_session'); -INSERT INTO "auth_permission" VALUES(19,'Can add site',7,'add_site'); -INSERT INTO "auth_permission" VALUES(20,'Can change site',7,'change_site'); -INSERT INTO "auth_permission" VALUES(21,'Can delete site',7,'delete_site'); -INSERT INTO "auth_permission" VALUES(22,'Can add log entry',8,'add_logentry'); -INSERT INTO "auth_permission" VALUES(23,'Can change log entry',8,'change_logentry'); -INSERT INTO "auth_permission" VALUES(24,'Can delete log entry',8,'delete_logentry'); -INSERT INTO "auth_permission" VALUES(25,'Can add profile',9,'add_profile'); -INSERT INTO "auth_permission" VALUES(26,'Can change profile',9,'change_profile'); -INSERT INTO "auth_permission" VALUES(27,'Can delete profile',9,'delete_profile'); -INSERT INTO "auth_permission" VALUES(28,'Can add name type',10,'add_nametype'); -INSERT INTO "auth_permission" VALUES(29,'Can change name type',10,'change_nametype'); -INSERT INTO "auth_permission" VALUES(30,'Can delete name type',10,'delete_nametype'); -INSERT INTO "auth_permission" VALUES(31,'Can add name origin type',11,'add_nameorigintype'); -INSERT INTO "auth_permission" VALUES(32,'Can change name origin type',11,'change_nameorigintype'); -INSERT INTO "auth_permission" VALUES(33,'Can delete name origin type',11,'delete_nameorigintype'); -INSERT INTO "auth_permission" VALUES(34,'Can add attribute type',12,'add_attributetype'); -INSERT INTO "auth_permission" VALUES(35,'Can change attribute type',12,'change_attributetype'); -INSERT INTO "auth_permission" VALUES(36,'Can delete attribute type',12,'delete_attributetype'); -INSERT INTO "auth_permission" VALUES(37,'Can add url type',13,'add_urltype'); -INSERT INTO "auth_permission" VALUES(38,'Can change url type',13,'change_urltype'); -INSERT INTO "auth_permission" VALUES(39,'Can delete url type',13,'delete_urltype'); -INSERT INTO "auth_permission" VALUES(40,'Can add child ref type',14,'add_childreftype'); -INSERT INTO "auth_permission" VALUES(41,'Can change child ref type',14,'change_childreftype'); -INSERT INTO "auth_permission" VALUES(42,'Can delete child ref type',14,'delete_childreftype'); -INSERT INTO "auth_permission" VALUES(43,'Can add repository type',15,'add_repositorytype'); -INSERT INTO "auth_permission" VALUES(44,'Can change repository type',15,'change_repositorytype'); -INSERT INTO "auth_permission" VALUES(45,'Can delete repository type',15,'delete_repositorytype'); -INSERT INTO "auth_permission" VALUES(46,'Can add event type',16,'add_eventtype'); -INSERT INTO "auth_permission" VALUES(47,'Can change event type',16,'change_eventtype'); -INSERT INTO "auth_permission" VALUES(48,'Can delete event type',16,'delete_eventtype'); -INSERT INTO "auth_permission" VALUES(49,'Can add family rel type',17,'add_familyreltype'); -INSERT INTO "auth_permission" VALUES(50,'Can change family rel type',17,'change_familyreltype'); -INSERT INTO "auth_permission" VALUES(51,'Can delete family rel type',17,'delete_familyreltype'); -INSERT INTO "auth_permission" VALUES(52,'Can add source media type',18,'add_sourcemediatype'); -INSERT INTO "auth_permission" VALUES(53,'Can change source media type',18,'change_sourcemediatype'); -INSERT INTO "auth_permission" VALUES(54,'Can delete source media type',18,'delete_sourcemediatype'); -INSERT INTO "auth_permission" VALUES(55,'Can add event role type',19,'add_eventroletype'); -INSERT INTO "auth_permission" VALUES(56,'Can change event role type',19,'change_eventroletype'); -INSERT INTO "auth_permission" VALUES(57,'Can delete event role type',19,'delete_eventroletype'); -INSERT INTO "auth_permission" VALUES(58,'Can add note type',20,'add_notetype'); -INSERT INTO "auth_permission" VALUES(59,'Can change note type',20,'change_notetype'); -INSERT INTO "auth_permission" VALUES(60,'Can delete note type',20,'delete_notetype'); -INSERT INTO "auth_permission" VALUES(61,'Can add styled text tag type',21,'add_styledtexttagtype'); -INSERT INTO "auth_permission" VALUES(62,'Can change styled text tag type',21,'change_styledtexttagtype'); -INSERT INTO "auth_permission" VALUES(63,'Can delete styled text tag type',21,'delete_styledtexttagtype'); -INSERT INTO "auth_permission" VALUES(64,'Can add gender type',22,'add_gendertype'); -INSERT INTO "auth_permission" VALUES(65,'Can change gender type',22,'change_gendertype'); -INSERT INTO "auth_permission" VALUES(66,'Can delete gender type',22,'delete_gendertype'); -INSERT INTO "auth_permission" VALUES(67,'Can add lds type',23,'add_ldstype'); -INSERT INTO "auth_permission" VALUES(68,'Can change lds type',23,'change_ldstype'); -INSERT INTO "auth_permission" VALUES(69,'Can delete lds type',23,'delete_ldstype'); -INSERT INTO "auth_permission" VALUES(70,'Can add lds status',24,'add_ldsstatus'); -INSERT INTO "auth_permission" VALUES(71,'Can change lds status',24,'change_ldsstatus'); -INSERT INTO "auth_permission" VALUES(72,'Can delete lds status',24,'delete_ldsstatus'); -INSERT INTO "auth_permission" VALUES(73,'Can add name format type',25,'add_nameformattype'); -INSERT INTO "auth_permission" VALUES(74,'Can change name format type',25,'change_nameformattype'); -INSERT INTO "auth_permission" VALUES(75,'Can delete name format type',25,'delete_nameformattype'); -INSERT INTO "auth_permission" VALUES(76,'Can add calendar type',26,'add_calendartype'); -INSERT INTO "auth_permission" VALUES(77,'Can change calendar type',26,'change_calendartype'); -INSERT INTO "auth_permission" VALUES(78,'Can delete calendar type',26,'delete_calendartype'); -INSERT INTO "auth_permission" VALUES(79,'Can add date modifier type',27,'add_datemodifiertype'); -INSERT INTO "auth_permission" VALUES(80,'Can change date modifier type',27,'change_datemodifiertype'); -INSERT INTO "auth_permission" VALUES(81,'Can delete date modifier type',27,'delete_datemodifiertype'); -INSERT INTO "auth_permission" VALUES(82,'Can add date new year type',28,'add_datenewyeartype'); -INSERT INTO "auth_permission" VALUES(83,'Can change date new year type',28,'change_datenewyeartype'); -INSERT INTO "auth_permission" VALUES(84,'Can delete date new year type',28,'delete_datenewyeartype'); -INSERT INTO "auth_permission" VALUES(85,'Can add theme type',29,'add_themetype'); -INSERT INTO "auth_permission" VALUES(86,'Can change theme type',29,'change_themetype'); -INSERT INTO "auth_permission" VALUES(87,'Can delete theme type',29,'delete_themetype'); -INSERT INTO "auth_permission" VALUES(88,'Can add config',30,'add_config'); -INSERT INTO "auth_permission" VALUES(89,'Can change config',30,'change_config'); -INSERT INTO "auth_permission" VALUES(90,'Can delete config',30,'delete_config'); -INSERT INTO "auth_permission" VALUES(91,'Can add tag',31,'add_tag'); -INSERT INTO "auth_permission" VALUES(92,'Can change tag',31,'change_tag'); -INSERT INTO "auth_permission" VALUES(93,'Can delete tag',31,'delete_tag'); -INSERT INTO "auth_permission" VALUES(94,'Can add my families',32,'add_myfamilies'); -INSERT INTO "auth_permission" VALUES(95,'Can change my families',32,'change_myfamilies'); -INSERT INTO "auth_permission" VALUES(96,'Can delete my families',32,'delete_myfamilies'); -INSERT INTO "auth_permission" VALUES(97,'Can add my parent families',33,'add_myparentfamilies'); -INSERT INTO "auth_permission" VALUES(98,'Can change my parent families',33,'change_myparentfamilies'); -INSERT INTO "auth_permission" VALUES(99,'Can delete my parent families',33,'delete_myparentfamilies'); -INSERT INTO "auth_permission" VALUES(100,'Can add person',34,'add_person'); -INSERT INTO "auth_permission" VALUES(101,'Can change person',34,'change_person'); -INSERT INTO "auth_permission" VALUES(102,'Can delete person',34,'delete_person'); -INSERT INTO "auth_permission" VALUES(103,'Can add family',35,'add_family'); -INSERT INTO "auth_permission" VALUES(104,'Can change family',35,'change_family'); -INSERT INTO "auth_permission" VALUES(105,'Can delete family',35,'delete_family'); -INSERT INTO "auth_permission" VALUES(106,'Can add citation',36,'add_citation'); -INSERT INTO "auth_permission" VALUES(107,'Can change citation',36,'change_citation'); -INSERT INTO "auth_permission" VALUES(108,'Can delete citation',36,'delete_citation'); -INSERT INTO "auth_permission" VALUES(109,'Can add source',37,'add_source'); -INSERT INTO "auth_permission" VALUES(110,'Can change source',37,'change_source'); -INSERT INTO "auth_permission" VALUES(111,'Can delete source',37,'delete_source'); -INSERT INTO "auth_permission" VALUES(112,'Can add event',38,'add_event'); -INSERT INTO "auth_permission" VALUES(113,'Can change event',38,'change_event'); -INSERT INTO "auth_permission" VALUES(114,'Can delete event',38,'delete_event'); -INSERT INTO "auth_permission" VALUES(115,'Can add repository',39,'add_repository'); -INSERT INTO "auth_permission" VALUES(116,'Can change repository',39,'change_repository'); -INSERT INTO "auth_permission" VALUES(117,'Can delete repository',39,'delete_repository'); -INSERT INTO "auth_permission" VALUES(118,'Can add place',40,'add_place'); -INSERT INTO "auth_permission" VALUES(119,'Can change place',40,'change_place'); -INSERT INTO "auth_permission" VALUES(120,'Can delete place',40,'delete_place'); -INSERT INTO "auth_permission" VALUES(121,'Can add media',41,'add_media'); -INSERT INTO "auth_permission" VALUES(122,'Can change media',41,'change_media'); -INSERT INTO "auth_permission" VALUES(123,'Can delete media',41,'delete_media'); -INSERT INTO "auth_permission" VALUES(124,'Can add note',42,'add_note'); -INSERT INTO "auth_permission" VALUES(125,'Can change note',42,'change_note'); -INSERT INTO "auth_permission" VALUES(126,'Can delete note',42,'delete_note'); -INSERT INTO "auth_permission" VALUES(127,'Can add surname',43,'add_surname'); -INSERT INTO "auth_permission" VALUES(128,'Can change surname',43,'change_surname'); -INSERT INTO "auth_permission" VALUES(129,'Can delete surname',43,'delete_surname'); -INSERT INTO "auth_permission" VALUES(130,'Can add name',44,'add_name'); -INSERT INTO "auth_permission" VALUES(131,'Can change name',44,'change_name'); -INSERT INTO "auth_permission" VALUES(132,'Can delete name',44,'delete_name'); -INSERT INTO "auth_permission" VALUES(133,'Can add lds',45,'add_lds'); -INSERT INTO "auth_permission" VALUES(134,'Can change lds',45,'change_lds'); -INSERT INTO "auth_permission" VALUES(135,'Can delete lds',45,'delete_lds'); -INSERT INTO "auth_permission" VALUES(136,'Can add markup',46,'add_markup'); -INSERT INTO "auth_permission" VALUES(137,'Can change markup',46,'change_markup'); -INSERT INTO "auth_permission" VALUES(138,'Can delete markup',46,'delete_markup'); -INSERT INTO "auth_permission" VALUES(139,'Can add source datamap',47,'add_sourcedatamap'); -INSERT INTO "auth_permission" VALUES(140,'Can change source datamap',47,'change_sourcedatamap'); -INSERT INTO "auth_permission" VALUES(141,'Can delete source datamap',47,'delete_sourcedatamap'); -INSERT INTO "auth_permission" VALUES(142,'Can add citation datamap',48,'add_citationdatamap'); -INSERT INTO "auth_permission" VALUES(143,'Can change citation datamap',48,'change_citationdatamap'); -INSERT INTO "auth_permission" VALUES(144,'Can delete citation datamap',48,'delete_citationdatamap'); -INSERT INTO "auth_permission" VALUES(145,'Can add address',49,'add_address'); -INSERT INTO "auth_permission" VALUES(146,'Can change address',49,'change_address'); -INSERT INTO "auth_permission" VALUES(147,'Can delete address',49,'delete_address'); -INSERT INTO "auth_permission" VALUES(148,'Can add location',50,'add_location'); -INSERT INTO "auth_permission" VALUES(149,'Can change location',50,'change_location'); -INSERT INTO "auth_permission" VALUES(150,'Can delete location',50,'delete_location'); -INSERT INTO "auth_permission" VALUES(151,'Can add url',51,'add_url'); -INSERT INTO "auth_permission" VALUES(152,'Can change url',51,'change_url'); -INSERT INTO "auth_permission" VALUES(153,'Can delete url',51,'delete_url'); -INSERT INTO "auth_permission" VALUES(154,'Can add attribute',52,'add_attribute'); -INSERT INTO "auth_permission" VALUES(155,'Can change attribute',52,'change_attribute'); -INSERT INTO "auth_permission" VALUES(156,'Can delete attribute',52,'delete_attribute'); -INSERT INTO "auth_permission" VALUES(157,'Can add log',53,'add_log'); -INSERT INTO "auth_permission" VALUES(158,'Can change log',53,'change_log'); -INSERT INTO "auth_permission" VALUES(159,'Can delete log',53,'delete_log'); -INSERT INTO "auth_permission" VALUES(160,'Can add note ref',54,'add_noteref'); -INSERT INTO "auth_permission" VALUES(161,'Can change note ref',54,'change_noteref'); -INSERT INTO "auth_permission" VALUES(162,'Can delete note ref',54,'delete_noteref'); -INSERT INTO "auth_permission" VALUES(163,'Can add event ref',55,'add_eventref'); -INSERT INTO "auth_permission" VALUES(164,'Can change event ref',55,'change_eventref'); -INSERT INTO "auth_permission" VALUES(165,'Can delete event ref',55,'delete_eventref'); -INSERT INTO "auth_permission" VALUES(166,'Can add repository ref',56,'add_repositoryref'); -INSERT INTO "auth_permission" VALUES(167,'Can change repository ref',56,'change_repositoryref'); -INSERT INTO "auth_permission" VALUES(168,'Can delete repository ref',56,'delete_repositoryref'); -INSERT INTO "auth_permission" VALUES(169,'Can add person ref',57,'add_personref'); -INSERT INTO "auth_permission" VALUES(170,'Can change person ref',57,'change_personref'); -INSERT INTO "auth_permission" VALUES(171,'Can delete person ref',57,'delete_personref'); -INSERT INTO "auth_permission" VALUES(172,'Can add citation ref',58,'add_citationref'); -INSERT INTO "auth_permission" VALUES(173,'Can change citation ref',58,'change_citationref'); -INSERT INTO "auth_permission" VALUES(174,'Can delete citation ref',58,'delete_citationref'); -INSERT INTO "auth_permission" VALUES(175,'Can add child ref',59,'add_childref'); -INSERT INTO "auth_permission" VALUES(176,'Can change child ref',59,'change_childref'); -INSERT INTO "auth_permission" VALUES(177,'Can delete child ref',59,'delete_childref'); -INSERT INTO "auth_permission" VALUES(178,'Can add media ref',60,'add_mediaref'); -INSERT INTO "auth_permission" VALUES(179,'Can change media ref',60,'change_mediaref'); -INSERT INTO "auth_permission" VALUES(180,'Can delete media ref',60,'delete_mediaref'); -INSERT INTO "auth_permission" VALUES(181,'Can add report',61,'add_report'); -INSERT INTO "auth_permission" VALUES(182,'Can change report',61,'change_report'); -INSERT INTO "auth_permission" VALUES(183,'Can delete report',61,'delete_report'); -INSERT INTO "auth_permission" VALUES(184,'Can add result',62,'add_result'); -INSERT INTO "auth_permission" VALUES(185,'Can change result',62,'change_result'); -INSERT INTO "auth_permission" VALUES(186,'Can delete result',62,'delete_result'); +INSERT INTO "auth_permission" VALUES(10,'Can add content type',4,'add_contenttype'); +INSERT INTO "auth_permission" VALUES(11,'Can change content type',4,'change_contenttype'); +INSERT INTO "auth_permission" VALUES(12,'Can delete content type',4,'delete_contenttype'); +INSERT INTO "auth_permission" VALUES(13,'Can add session',5,'add_session'); +INSERT INTO "auth_permission" VALUES(14,'Can change session',5,'change_session'); +INSERT INTO "auth_permission" VALUES(15,'Can delete session',5,'delete_session'); +INSERT INTO "auth_permission" VALUES(16,'Can add site',6,'add_site'); +INSERT INTO "auth_permission" VALUES(17,'Can change site',6,'change_site'); +INSERT INTO "auth_permission" VALUES(18,'Can delete site',6,'delete_site'); +INSERT INTO "auth_permission" VALUES(19,'Can add log entry',7,'add_logentry'); +INSERT INTO "auth_permission" VALUES(20,'Can change log entry',7,'change_logentry'); +INSERT INTO "auth_permission" VALUES(21,'Can delete log entry',7,'delete_logentry'); +INSERT INTO "auth_permission" VALUES(22,'Can add address',48,'add_address'); +INSERT INTO "auth_permission" VALUES(23,'Can add attribute',51,'add_attribute'); +INSERT INTO "auth_permission" VALUES(24,'Can add attribute type',11,'add_attributetype'); +INSERT INTO "auth_permission" VALUES(25,'Can add calendar type',25,'add_calendartype'); +INSERT INTO "auth_permission" VALUES(26,'Can add child ref',58,'add_childref'); +INSERT INTO "auth_permission" VALUES(27,'Can add child ref type',13,'add_childreftype'); +INSERT INTO "auth_permission" VALUES(28,'Can add citation',35,'add_citation'); +INSERT INTO "auth_permission" VALUES(29,'Can add citation attribute',47,'add_citationattribute'); +INSERT INTO "auth_permission" VALUES(30,'Can add citation ref',57,'add_citationref'); +INSERT INTO "auth_permission" VALUES(31,'Can add config',29,'add_config'); +INSERT INTO "auth_permission" VALUES(32,'Can add date modifier type',26,'add_datemodifiertype'); +INSERT INTO "auth_permission" VALUES(33,'Can add date new year type',27,'add_datenewyeartype'); +INSERT INTO "auth_permission" VALUES(34,'Can add event',37,'add_event'); +INSERT INTO "auth_permission" VALUES(35,'Can add event ref',54,'add_eventref'); +INSERT INTO "auth_permission" VALUES(36,'Can add event role type',18,'add_eventroletype'); +INSERT INTO "auth_permission" VALUES(37,'Can add event type',15,'add_eventtype'); +INSERT INTO "auth_permission" VALUES(38,'Can add family',34,'add_family'); +INSERT INTO "auth_permission" VALUES(39,'Can add family rel type',16,'add_familyreltype'); +INSERT INTO "auth_permission" VALUES(40,'Can add gender type',21,'add_gendertype'); +INSERT INTO "auth_permission" VALUES(41,'Can add lds',44,'add_lds'); +INSERT INTO "auth_permission" VALUES(42,'Can add lds status',23,'add_ldsstatus'); +INSERT INTO "auth_permission" VALUES(43,'Can add lds type',22,'add_ldstype'); +INSERT INTO "auth_permission" VALUES(44,'Can add location',49,'add_location'); +INSERT INTO "auth_permission" VALUES(45,'Can add log',52,'add_log'); +INSERT INTO "auth_permission" VALUES(46,'Can add markup',45,'add_markup'); +INSERT INTO "auth_permission" VALUES(47,'Can add media',40,'add_media'); +INSERT INTO "auth_permission" VALUES(48,'Can add media ref',59,'add_mediaref'); +INSERT INTO "auth_permission" VALUES(49,'Can add my families',31,'add_myfamilies'); +INSERT INTO "auth_permission" VALUES(50,'Can add my parent families',32,'add_myparentfamilies'); +INSERT INTO "auth_permission" VALUES(51,'Can add name',43,'add_name'); +INSERT INTO "auth_permission" VALUES(52,'Can add name format type',24,'add_nameformattype'); +INSERT INTO "auth_permission" VALUES(53,'Can add name origin type',10,'add_nameorigintype'); +INSERT INTO "auth_permission" VALUES(54,'Can add name type',9,'add_nametype'); +INSERT INTO "auth_permission" VALUES(55,'Can add note',41,'add_note'); +INSERT INTO "auth_permission" VALUES(56,'Can add note ref',53,'add_noteref'); +INSERT INTO "auth_permission" VALUES(57,'Can add note type',19,'add_notetype'); +INSERT INTO "auth_permission" VALUES(58,'Can add person',33,'add_person'); +INSERT INTO "auth_permission" VALUES(59,'Can add person ref',56,'add_personref'); +INSERT INTO "auth_permission" VALUES(60,'Can add place',39,'add_place'); +INSERT INTO "auth_permission" VALUES(61,'Can add profile',8,'add_profile'); +INSERT INTO "auth_permission" VALUES(62,'Can add report',60,'add_report'); +INSERT INTO "auth_permission" VALUES(63,'Can add repository',38,'add_repository'); +INSERT INTO "auth_permission" VALUES(64,'Can add repository ref',55,'add_repositoryref'); +INSERT INTO "auth_permission" VALUES(65,'Can add repository type',14,'add_repositorytype'); +INSERT INTO "auth_permission" VALUES(66,'Can add result',61,'add_result'); +INSERT INTO "auth_permission" VALUES(67,'Can add source',36,'add_source'); +INSERT INTO "auth_permission" VALUES(68,'Can add source attribute',46,'add_sourceattribute'); +INSERT INTO "auth_permission" VALUES(69,'Can add source media type',17,'add_sourcemediatype'); +INSERT INTO "auth_permission" VALUES(70,'Can add styled text tag type',20,'add_styledtexttagtype'); +INSERT INTO "auth_permission" VALUES(71,'Can add surname',42,'add_surname'); +INSERT INTO "auth_permission" VALUES(72,'Can add tag',30,'add_tag'); +INSERT INTO "auth_permission" VALUES(73,'Can add theme type',28,'add_themetype'); +INSERT INTO "auth_permission" VALUES(74,'Can add url',50,'add_url'); +INSERT INTO "auth_permission" VALUES(75,'Can add url type',12,'add_urltype'); +INSERT INTO "auth_permission" VALUES(76,'Can change address',48,'change_address'); +INSERT INTO "auth_permission" VALUES(77,'Can change attribute',51,'change_attribute'); +INSERT INTO "auth_permission" VALUES(78,'Can change attribute type',11,'change_attributetype'); +INSERT INTO "auth_permission" VALUES(79,'Can change calendar type',25,'change_calendartype'); +INSERT INTO "auth_permission" VALUES(80,'Can change child ref',58,'change_childref'); +INSERT INTO "auth_permission" VALUES(81,'Can change child ref type',13,'change_childreftype'); +INSERT INTO "auth_permission" VALUES(82,'Can change citation',35,'change_citation'); +INSERT INTO "auth_permission" VALUES(83,'Can change citation attribute',47,'change_citationattribute'); +INSERT INTO "auth_permission" VALUES(84,'Can change citation ref',57,'change_citationref'); +INSERT INTO "auth_permission" VALUES(85,'Can change config',29,'change_config'); +INSERT INTO "auth_permission" VALUES(86,'Can change date modifier type',26,'change_datemodifiertype'); +INSERT INTO "auth_permission" VALUES(87,'Can change date new year type',27,'change_datenewyeartype'); +INSERT INTO "auth_permission" VALUES(88,'Can change event',37,'change_event'); +INSERT INTO "auth_permission" VALUES(89,'Can change event ref',54,'change_eventref'); +INSERT INTO "auth_permission" VALUES(90,'Can change event role type',18,'change_eventroletype'); +INSERT INTO "auth_permission" VALUES(91,'Can change event type',15,'change_eventtype'); +INSERT INTO "auth_permission" VALUES(92,'Can change family',34,'change_family'); +INSERT INTO "auth_permission" VALUES(93,'Can change family rel type',16,'change_familyreltype'); +INSERT INTO "auth_permission" VALUES(94,'Can change gender type',21,'change_gendertype'); +INSERT INTO "auth_permission" VALUES(95,'Can change lds',44,'change_lds'); +INSERT INTO "auth_permission" VALUES(96,'Can change lds status',23,'change_ldsstatus'); +INSERT INTO "auth_permission" VALUES(97,'Can change lds type',22,'change_ldstype'); +INSERT INTO "auth_permission" VALUES(98,'Can change location',49,'change_location'); +INSERT INTO "auth_permission" VALUES(99,'Can change log',52,'change_log'); +INSERT INTO "auth_permission" VALUES(100,'Can change markup',45,'change_markup'); +INSERT INTO "auth_permission" VALUES(101,'Can change media',40,'change_media'); +INSERT INTO "auth_permission" VALUES(102,'Can change media ref',59,'change_mediaref'); +INSERT INTO "auth_permission" VALUES(103,'Can change my families',31,'change_myfamilies'); +INSERT INTO "auth_permission" VALUES(104,'Can change my parent families',32,'change_myparentfamilies'); +INSERT INTO "auth_permission" VALUES(105,'Can change name',43,'change_name'); +INSERT INTO "auth_permission" VALUES(106,'Can change name format type',24,'change_nameformattype'); +INSERT INTO "auth_permission" VALUES(107,'Can change name origin type',10,'change_nameorigintype'); +INSERT INTO "auth_permission" VALUES(108,'Can change name type',9,'change_nametype'); +INSERT INTO "auth_permission" VALUES(109,'Can change note',41,'change_note'); +INSERT INTO "auth_permission" VALUES(110,'Can change note ref',53,'change_noteref'); +INSERT INTO "auth_permission" VALUES(111,'Can change note type',19,'change_notetype'); +INSERT INTO "auth_permission" VALUES(112,'Can change person',33,'change_person'); +INSERT INTO "auth_permission" VALUES(113,'Can change person ref',56,'change_personref'); +INSERT INTO "auth_permission" VALUES(114,'Can change place',39,'change_place'); +INSERT INTO "auth_permission" VALUES(115,'Can change profile',8,'change_profile'); +INSERT INTO "auth_permission" VALUES(116,'Can change report',60,'change_report'); +INSERT INTO "auth_permission" VALUES(117,'Can change repository',38,'change_repository'); +INSERT INTO "auth_permission" VALUES(118,'Can change repository ref',55,'change_repositoryref'); +INSERT INTO "auth_permission" VALUES(119,'Can change repository type',14,'change_repositorytype'); +INSERT INTO "auth_permission" VALUES(120,'Can change result',61,'change_result'); +INSERT INTO "auth_permission" VALUES(121,'Can change source',36,'change_source'); +INSERT INTO "auth_permission" VALUES(122,'Can change source attribute',46,'change_sourceattribute'); +INSERT INTO "auth_permission" VALUES(123,'Can change source media type',17,'change_sourcemediatype'); +INSERT INTO "auth_permission" VALUES(124,'Can change styled text tag type',20,'change_styledtexttagtype'); +INSERT INTO "auth_permission" VALUES(125,'Can change surname',42,'change_surname'); +INSERT INTO "auth_permission" VALUES(126,'Can change tag',30,'change_tag'); +INSERT INTO "auth_permission" VALUES(127,'Can change theme type',28,'change_themetype'); +INSERT INTO "auth_permission" VALUES(128,'Can change url',50,'change_url'); +INSERT INTO "auth_permission" VALUES(129,'Can change url type',12,'change_urltype'); +INSERT INTO "auth_permission" VALUES(130,'Can delete address',48,'delete_address'); +INSERT INTO "auth_permission" VALUES(131,'Can delete attribute',51,'delete_attribute'); +INSERT INTO "auth_permission" VALUES(132,'Can delete attribute type',11,'delete_attributetype'); +INSERT INTO "auth_permission" VALUES(133,'Can delete calendar type',25,'delete_calendartype'); +INSERT INTO "auth_permission" VALUES(134,'Can delete child ref',58,'delete_childref'); +INSERT INTO "auth_permission" VALUES(135,'Can delete child ref type',13,'delete_childreftype'); +INSERT INTO "auth_permission" VALUES(136,'Can delete citation',35,'delete_citation'); +INSERT INTO "auth_permission" VALUES(137,'Can delete citation attribute',47,'delete_citationattribute'); +INSERT INTO "auth_permission" VALUES(138,'Can delete citation ref',57,'delete_citationref'); +INSERT INTO "auth_permission" VALUES(139,'Can delete config',29,'delete_config'); +INSERT INTO "auth_permission" VALUES(140,'Can delete date modifier type',26,'delete_datemodifiertype'); +INSERT INTO "auth_permission" VALUES(141,'Can delete date new year type',27,'delete_datenewyeartype'); +INSERT INTO "auth_permission" VALUES(142,'Can delete event',37,'delete_event'); +INSERT INTO "auth_permission" VALUES(143,'Can delete event ref',54,'delete_eventref'); +INSERT INTO "auth_permission" VALUES(144,'Can delete event role type',18,'delete_eventroletype'); +INSERT INTO "auth_permission" VALUES(145,'Can delete event type',15,'delete_eventtype'); +INSERT INTO "auth_permission" VALUES(146,'Can delete family',34,'delete_family'); +INSERT INTO "auth_permission" VALUES(147,'Can delete family rel type',16,'delete_familyreltype'); +INSERT INTO "auth_permission" VALUES(148,'Can delete gender type',21,'delete_gendertype'); +INSERT INTO "auth_permission" VALUES(149,'Can delete lds',44,'delete_lds'); +INSERT INTO "auth_permission" VALUES(150,'Can delete lds status',23,'delete_ldsstatus'); +INSERT INTO "auth_permission" VALUES(151,'Can delete lds type',22,'delete_ldstype'); +INSERT INTO "auth_permission" VALUES(152,'Can delete location',49,'delete_location'); +INSERT INTO "auth_permission" VALUES(153,'Can delete log',52,'delete_log'); +INSERT INTO "auth_permission" VALUES(154,'Can delete markup',45,'delete_markup'); +INSERT INTO "auth_permission" VALUES(155,'Can delete media',40,'delete_media'); +INSERT INTO "auth_permission" VALUES(156,'Can delete media ref',59,'delete_mediaref'); +INSERT INTO "auth_permission" VALUES(157,'Can delete my families',31,'delete_myfamilies'); +INSERT INTO "auth_permission" VALUES(158,'Can delete my parent families',32,'delete_myparentfamilies'); +INSERT INTO "auth_permission" VALUES(159,'Can delete name',43,'delete_name'); +INSERT INTO "auth_permission" VALUES(160,'Can delete name format type',24,'delete_nameformattype'); +INSERT INTO "auth_permission" VALUES(161,'Can delete name origin type',10,'delete_nameorigintype'); +INSERT INTO "auth_permission" VALUES(162,'Can delete name type',9,'delete_nametype'); +INSERT INTO "auth_permission" VALUES(163,'Can delete note',41,'delete_note'); +INSERT INTO "auth_permission" VALUES(164,'Can delete note ref',53,'delete_noteref'); +INSERT INTO "auth_permission" VALUES(165,'Can delete note type',19,'delete_notetype'); +INSERT INTO "auth_permission" VALUES(166,'Can delete person',33,'delete_person'); +INSERT INTO "auth_permission" VALUES(167,'Can delete person ref',56,'delete_personref'); +INSERT INTO "auth_permission" VALUES(168,'Can delete place',39,'delete_place'); +INSERT INTO "auth_permission" VALUES(169,'Can delete profile',8,'delete_profile'); +INSERT INTO "auth_permission" VALUES(170,'Can delete report',60,'delete_report'); +INSERT INTO "auth_permission" VALUES(171,'Can delete repository',38,'delete_repository'); +INSERT INTO "auth_permission" VALUES(172,'Can delete repository ref',55,'delete_repositoryref'); +INSERT INTO "auth_permission" VALUES(173,'Can delete repository type',14,'delete_repositorytype'); +INSERT INTO "auth_permission" VALUES(174,'Can delete result',61,'delete_result'); +INSERT INTO "auth_permission" VALUES(175,'Can delete source',36,'delete_source'); +INSERT INTO "auth_permission" VALUES(176,'Can delete source attribute',46,'delete_sourceattribute'); +INSERT INTO "auth_permission" VALUES(177,'Can delete source media type',17,'delete_sourcemediatype'); +INSERT INTO "auth_permission" VALUES(178,'Can delete styled text tag type',20,'delete_styledtexttagtype'); +INSERT INTO "auth_permission" VALUES(179,'Can delete surname',42,'delete_surname'); +INSERT INTO "auth_permission" VALUES(180,'Can delete tag',30,'delete_tag'); +INSERT INTO "auth_permission" VALUES(181,'Can delete theme type',28,'delete_themetype'); +INSERT INTO "auth_permission" VALUES(182,'Can delete url',50,'delete_url'); +INSERT INTO "auth_permission" VALUES(183,'Can delete url type',12,'delete_urltype'); CREATE TABLE "auth_group_permissions" ( "id" integer NOT NULL PRIMARY KEY, "group_id" integer NOT NULL, @@ -228,13 +225,8 @@ CREATE TABLE "auth_user" ( "last_login" datetime NOT NULL, "date_joined" datetime NOT NULL ); -INSERT INTO "auth_user" VALUES(1,'admin','','','bugs@gramps-project.org','sha1$e6c7c$4b1fb71d557b37a04eecffaf9c61f086b1ca35f5',1,1,1,'2012-08-10 08:16:43.964714','2012-08-10 08:16:43.964714'); -INSERT INTO "auth_user" VALUES(2,'admin1','','','bugs@gramps-project.org','sha1$f466d$20b08567aa61bd56d523ee497f215119ffe8c4fa',1,1,1,'2012-08-10 08:16:49.093450','2012-08-10 08:16:49.093450'); -CREATE TABLE "auth_message" ( - "id" integer NOT NULL PRIMARY KEY, - "user_id" integer NOT NULL REFERENCES "auth_user" ("id"), - "message" text NOT NULL -); +INSERT INTO "auth_user" VALUES(1,'admin','','','bugs@gramps-project.org','pbkdf2_sha256$10000$ntRuJrn9KY8j$ipl3ipo8PxAFAWfRitAxGLOxNAsMGmNztsNfhV5Saq4=',1,1,1,'2013-09-01 09:00:43.419711','2013-09-01 09:00:43.419711'); +INSERT INTO "auth_user" VALUES(2,'admin1','','','bugs@gramps-project.org','pbkdf2_sha256$10000$1hapU48TAypv$stsqH513iwTUm3Ih00kGqfApM6rM65MTdUU/KD5V9Po=',1,1,1,'2013-09-01 09:00:49.413468','2013-09-01 09:00:49.413468'); CREATE TABLE "django_content_type" ( "id" integer NOT NULL PRIMARY KEY, "name" varchar(100) NOT NULL, @@ -245,65 +237,64 @@ CREATE TABLE "django_content_type" ( INSERT INTO "django_content_type" VALUES(1,'permission','auth','permission'); INSERT INTO "django_content_type" VALUES(2,'group','auth','group'); INSERT INTO "django_content_type" VALUES(3,'user','auth','user'); -INSERT INTO "django_content_type" VALUES(4,'message','auth','message'); -INSERT INTO "django_content_type" VALUES(5,'content type','contenttypes','contenttype'); -INSERT INTO "django_content_type" VALUES(6,'session','sessions','session'); -INSERT INTO "django_content_type" VALUES(7,'site','sites','site'); -INSERT INTO "django_content_type" VALUES(8,'log entry','admin','logentry'); -INSERT INTO "django_content_type" VALUES(9,'profile','grampsdb','profile'); -INSERT INTO "django_content_type" VALUES(10,'name type','grampsdb','nametype'); -INSERT INTO "django_content_type" VALUES(11,'name origin type','grampsdb','nameorigintype'); -INSERT INTO "django_content_type" VALUES(12,'attribute type','grampsdb','attributetype'); -INSERT INTO "django_content_type" VALUES(13,'url type','grampsdb','urltype'); -INSERT INTO "django_content_type" VALUES(14,'child ref type','grampsdb','childreftype'); -INSERT INTO "django_content_type" VALUES(15,'repository type','grampsdb','repositorytype'); -INSERT INTO "django_content_type" VALUES(16,'event type','grampsdb','eventtype'); -INSERT INTO "django_content_type" VALUES(17,'family rel type','grampsdb','familyreltype'); -INSERT INTO "django_content_type" VALUES(18,'source media type','grampsdb','sourcemediatype'); -INSERT INTO "django_content_type" VALUES(19,'event role type','grampsdb','eventroletype'); -INSERT INTO "django_content_type" VALUES(20,'note type','grampsdb','notetype'); -INSERT INTO "django_content_type" VALUES(21,'styled text tag type','grampsdb','styledtexttagtype'); -INSERT INTO "django_content_type" VALUES(22,'gender type','grampsdb','gendertype'); -INSERT INTO "django_content_type" VALUES(23,'lds type','grampsdb','ldstype'); -INSERT INTO "django_content_type" VALUES(24,'lds status','grampsdb','ldsstatus'); -INSERT INTO "django_content_type" VALUES(25,'name format type','grampsdb','nameformattype'); -INSERT INTO "django_content_type" VALUES(26,'calendar type','grampsdb','calendartype'); -INSERT INTO "django_content_type" VALUES(27,'date modifier type','grampsdb','datemodifiertype'); -INSERT INTO "django_content_type" VALUES(28,'date new year type','grampsdb','datenewyeartype'); -INSERT INTO "django_content_type" VALUES(29,'theme type','grampsdb','themetype'); -INSERT INTO "django_content_type" VALUES(30,'config','grampsdb','config'); -INSERT INTO "django_content_type" VALUES(31,'tag','grampsdb','tag'); -INSERT INTO "django_content_type" VALUES(32,'my families','grampsdb','myfamilies'); -INSERT INTO "django_content_type" VALUES(33,'my parent families','grampsdb','myparentfamilies'); -INSERT INTO "django_content_type" VALUES(34,'person','grampsdb','person'); -INSERT INTO "django_content_type" VALUES(35,'family','grampsdb','family'); -INSERT INTO "django_content_type" VALUES(36,'citation','grampsdb','citation'); -INSERT INTO "django_content_type" VALUES(37,'source','grampsdb','source'); -INSERT INTO "django_content_type" VALUES(38,'event','grampsdb','event'); -INSERT INTO "django_content_type" VALUES(39,'repository','grampsdb','repository'); -INSERT INTO "django_content_type" VALUES(40,'place','grampsdb','place'); -INSERT INTO "django_content_type" VALUES(41,'media','grampsdb','media'); -INSERT INTO "django_content_type" VALUES(42,'note','grampsdb','note'); -INSERT INTO "django_content_type" VALUES(43,'surname','grampsdb','surname'); -INSERT INTO "django_content_type" VALUES(44,'name','grampsdb','name'); -INSERT INTO "django_content_type" VALUES(45,'lds','grampsdb','lds'); -INSERT INTO "django_content_type" VALUES(46,'markup','grampsdb','markup'); -INSERT INTO "django_content_type" VALUES(47,'source datamap','grampsdb','sourcedatamap'); -INSERT INTO "django_content_type" VALUES(48,'citation datamap','grampsdb','citationdatamap'); -INSERT INTO "django_content_type" VALUES(49,'address','grampsdb','address'); -INSERT INTO "django_content_type" VALUES(50,'location','grampsdb','location'); -INSERT INTO "django_content_type" VALUES(51,'url','grampsdb','url'); -INSERT INTO "django_content_type" VALUES(52,'attribute','grampsdb','attribute'); -INSERT INTO "django_content_type" VALUES(53,'log','grampsdb','log'); -INSERT INTO "django_content_type" VALUES(54,'note ref','grampsdb','noteref'); -INSERT INTO "django_content_type" VALUES(55,'event ref','grampsdb','eventref'); -INSERT INTO "django_content_type" VALUES(56,'repository ref','grampsdb','repositoryref'); -INSERT INTO "django_content_type" VALUES(57,'person ref','grampsdb','personref'); -INSERT INTO "django_content_type" VALUES(58,'citation ref','grampsdb','citationref'); -INSERT INTO "django_content_type" VALUES(59,'child ref','grampsdb','childref'); -INSERT INTO "django_content_type" VALUES(60,'media ref','grampsdb','mediaref'); -INSERT INTO "django_content_type" VALUES(61,'report','grampsdb','report'); -INSERT INTO "django_content_type" VALUES(62,'result','grampsdb','result'); +INSERT INTO "django_content_type" VALUES(4,'content type','contenttypes','contenttype'); +INSERT INTO "django_content_type" VALUES(5,'session','sessions','session'); +INSERT INTO "django_content_type" VALUES(6,'site','sites','site'); +INSERT INTO "django_content_type" VALUES(7,'log entry','admin','logentry'); +INSERT INTO "django_content_type" VALUES(8,'profile','grampsdb','profile'); +INSERT INTO "django_content_type" VALUES(9,'name type','grampsdb','nametype'); +INSERT INTO "django_content_type" VALUES(10,'name origin type','grampsdb','nameorigintype'); +INSERT INTO "django_content_type" VALUES(11,'attribute type','grampsdb','attributetype'); +INSERT INTO "django_content_type" VALUES(12,'url type','grampsdb','urltype'); +INSERT INTO "django_content_type" VALUES(13,'child ref type','grampsdb','childreftype'); +INSERT INTO "django_content_type" VALUES(14,'repository type','grampsdb','repositorytype'); +INSERT INTO "django_content_type" VALUES(15,'event type','grampsdb','eventtype'); +INSERT INTO "django_content_type" VALUES(16,'family rel type','grampsdb','familyreltype'); +INSERT INTO "django_content_type" VALUES(17,'source media type','grampsdb','sourcemediatype'); +INSERT INTO "django_content_type" VALUES(18,'event role type','grampsdb','eventroletype'); +INSERT INTO "django_content_type" VALUES(19,'note type','grampsdb','notetype'); +INSERT INTO "django_content_type" VALUES(20,'styled text tag type','grampsdb','styledtexttagtype'); +INSERT INTO "django_content_type" VALUES(21,'gender type','grampsdb','gendertype'); +INSERT INTO "django_content_type" VALUES(22,'lds type','grampsdb','ldstype'); +INSERT INTO "django_content_type" VALUES(23,'lds status','grampsdb','ldsstatus'); +INSERT INTO "django_content_type" VALUES(24,'name format type','grampsdb','nameformattype'); +INSERT INTO "django_content_type" VALUES(25,'calendar type','grampsdb','calendartype'); +INSERT INTO "django_content_type" VALUES(26,'date modifier type','grampsdb','datemodifiertype'); +INSERT INTO "django_content_type" VALUES(27,'date new year type','grampsdb','datenewyeartype'); +INSERT INTO "django_content_type" VALUES(28,'theme type','grampsdb','themetype'); +INSERT INTO "django_content_type" VALUES(29,'config','grampsdb','config'); +INSERT INTO "django_content_type" VALUES(30,'tag','grampsdb','tag'); +INSERT INTO "django_content_type" VALUES(31,'my families','grampsdb','myfamilies'); +INSERT INTO "django_content_type" VALUES(32,'my parent families','grampsdb','myparentfamilies'); +INSERT INTO "django_content_type" VALUES(33,'person','grampsdb','person'); +INSERT INTO "django_content_type" VALUES(34,'family','grampsdb','family'); +INSERT INTO "django_content_type" VALUES(35,'citation','grampsdb','citation'); +INSERT INTO "django_content_type" VALUES(36,'source','grampsdb','source'); +INSERT INTO "django_content_type" VALUES(37,'event','grampsdb','event'); +INSERT INTO "django_content_type" VALUES(38,'repository','grampsdb','repository'); +INSERT INTO "django_content_type" VALUES(39,'place','grampsdb','place'); +INSERT INTO "django_content_type" VALUES(40,'media','grampsdb','media'); +INSERT INTO "django_content_type" VALUES(41,'note','grampsdb','note'); +INSERT INTO "django_content_type" VALUES(42,'surname','grampsdb','surname'); +INSERT INTO "django_content_type" VALUES(43,'name','grampsdb','name'); +INSERT INTO "django_content_type" VALUES(44,'lds','grampsdb','lds'); +INSERT INTO "django_content_type" VALUES(45,'markup','grampsdb','markup'); +INSERT INTO "django_content_type" VALUES(46,'source attribute','grampsdb','sourceattribute'); +INSERT INTO "django_content_type" VALUES(47,'citation attribute','grampsdb','citationattribute'); +INSERT INTO "django_content_type" VALUES(48,'address','grampsdb','address'); +INSERT INTO "django_content_type" VALUES(49,'location','grampsdb','location'); +INSERT INTO "django_content_type" VALUES(50,'url','grampsdb','url'); +INSERT INTO "django_content_type" VALUES(51,'attribute','grampsdb','attribute'); +INSERT INTO "django_content_type" VALUES(52,'log','grampsdb','log'); +INSERT INTO "django_content_type" VALUES(53,'note ref','grampsdb','noteref'); +INSERT INTO "django_content_type" VALUES(54,'event ref','grampsdb','eventref'); +INSERT INTO "django_content_type" VALUES(55,'repository ref','grampsdb','repositoryref'); +INSERT INTO "django_content_type" VALUES(56,'person ref','grampsdb','personref'); +INSERT INTO "django_content_type" VALUES(57,'citation ref','grampsdb','citationref'); +INSERT INTO "django_content_type" VALUES(58,'child ref','grampsdb','childref'); +INSERT INTO "django_content_type" VALUES(59,'media ref','grampsdb','mediaref'); +INSERT INTO "django_content_type" VALUES(60,'report','grampsdb','report'); +INSERT INTO "django_content_type" VALUES(61,'result','grampsdb','result'); CREATE TABLE "django_session" ( "session_key" varchar(40) NOT NULL PRIMARY KEY, "session_data" text NOT NULL, @@ -533,23 +524,24 @@ INSERT INTO "grampsdb_notetype" VALUES(6,'Source text',21); INSERT INTO "grampsdb_notetype" VALUES(7,'Citation',22); INSERT INTO "grampsdb_notetype" VALUES(8,'Report',23); INSERT INTO "grampsdb_notetype" VALUES(9,'Html code',24); -INSERT INTO "grampsdb_notetype" VALUES(10,'Person Note',4); -INSERT INTO "grampsdb_notetype" VALUES(11,'Name Note',20); -INSERT INTO "grampsdb_notetype" VALUES(12,'Attribute Note',5); -INSERT INTO "grampsdb_notetype" VALUES(13,'Address Note',6); -INSERT INTO "grampsdb_notetype" VALUES(14,'Association Note',7); -INSERT INTO "grampsdb_notetype" VALUES(15,'LDS Note',8); -INSERT INTO "grampsdb_notetype" VALUES(16,'Family Note',9); -INSERT INTO "grampsdb_notetype" VALUES(17,'Event Note',10); -INSERT INTO "grampsdb_notetype" VALUES(18,'Event Reference Note',11); -INSERT INTO "grampsdb_notetype" VALUES(19,'Source Note',12); -INSERT INTO "grampsdb_notetype" VALUES(20,'Source Reference Note',13); -INSERT INTO "grampsdb_notetype" VALUES(21,'Place Note',14); -INSERT INTO "grampsdb_notetype" VALUES(22,'Repository Note',15); -INSERT INTO "grampsdb_notetype" VALUES(23,'Repository Reference Note',16); -INSERT INTO "grampsdb_notetype" VALUES(24,'Media Note',17); -INSERT INTO "grampsdb_notetype" VALUES(25,'Media Reference Note',18); -INSERT INTO "grampsdb_notetype" VALUES(26,'Child Reference Note',19); +INSERT INTO "grampsdb_notetype" VALUES(10,'To Do',25); +INSERT INTO "grampsdb_notetype" VALUES(11,'Person Note',4); +INSERT INTO "grampsdb_notetype" VALUES(12,'Name Note',20); +INSERT INTO "grampsdb_notetype" VALUES(13,'Attribute Note',5); +INSERT INTO "grampsdb_notetype" VALUES(14,'Address Note',6); +INSERT INTO "grampsdb_notetype" VALUES(15,'Association Note',7); +INSERT INTO "grampsdb_notetype" VALUES(16,'LDS Note',8); +INSERT INTO "grampsdb_notetype" VALUES(17,'Family Note',9); +INSERT INTO "grampsdb_notetype" VALUES(18,'Event Note',10); +INSERT INTO "grampsdb_notetype" VALUES(19,'Event Reference Note',11); +INSERT INTO "grampsdb_notetype" VALUES(20,'Source Note',12); +INSERT INTO "grampsdb_notetype" VALUES(21,'Source Reference Note',13); +INSERT INTO "grampsdb_notetype" VALUES(22,'Place Note',14); +INSERT INTO "grampsdb_notetype" VALUES(23,'Repository Note',15); +INSERT INTO "grampsdb_notetype" VALUES(24,'Repository Reference Note',16); +INSERT INTO "grampsdb_notetype" VALUES(25,'Media Note',17); +INSERT INTO "grampsdb_notetype" VALUES(26,'Media Reference Note',18); +INSERT INTO "grampsdb_notetype" VALUES(27,'Child Reference Note',19); CREATE TABLE "grampsdb_styledtexttagtype" ( "id" integer NOT NULL PRIMARY KEY, "name" varchar(40) NOT NULL, @@ -648,7 +640,7 @@ CREATE TABLE "grampsdb_config" ( ); INSERT INTO "grampsdb_config" VALUES(1,'sitename','site name of family tree','str','Gramps-Connect'); INSERT INTO "grampsdb_config" VALUES(2,'db_version','database scheme version','str','0.6.1'); -INSERT INTO "grampsdb_config" VALUES(3,'db_created','database creation date/time','str','2012-08-10 08:12'); +INSERT INTO "grampsdb_config" VALUES(3,'db_created','database creation date/time','str','2013-09-01 08:59'); INSERT INTO "grampsdb_config" VALUES(4,'htmlview.url-handler',NULL,'bool','False'); INSERT INTO "grampsdb_config" VALUES(5,'htmlview.start-url',NULL,'str','http://gramps-project.org'); INSERT INTO "grampsdb_config" VALUES(6,'paths.recent-export-dir',NULL,'str',''); @@ -659,173 +651,191 @@ INSERT INTO "grampsdb_config" VALUES(10,'paths.quick-backup-directory',NULL,'uni INSERT INTO "grampsdb_config" VALUES(11,'paths.recent-file',NULL,'str',''); INSERT INTO "grampsdb_config" VALUES(12,'paths.website-directory',NULL,'unicode','/home/dblank'); INSERT INTO "grampsdb_config" VALUES(13,'preferences.family-warn',NULL,'bool','True'); -INSERT INTO "grampsdb_config" VALUES(14,'preferences.no-surname-text',NULL,'unicode','[Missing Surname]'); +INSERT INTO "grampsdb_config" VALUES(14,'preferences.no-surname-text',NULL,'str','[Missing Surname]'); INSERT INTO "grampsdb_config" VALUES(15,'preferences.family-relation-type',NULL,'int','3'); -INSERT INTO "grampsdb_config" VALUES(16,'preferences.private-surname-text',NULL,'unicode','[Living]'); +INSERT INTO "grampsdb_config" VALUES(16,'preferences.private-surname-text',NULL,'str','[Living]'); INSERT INTO "grampsdb_config" VALUES(17,'preferences.fprefix',NULL,'str','F%04d'); -INSERT INTO "grampsdb_config" VALUES(18,'preferences.default-source',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(19,'preferences.calendar-format-report',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(20,'preferences.oprefix',NULL,'str','O%04d'); -INSERT INTO "grampsdb_config" VALUES(21,'preferences.nprefix',NULL,'str','N%04d'); -INSERT INTO "grampsdb_config" VALUES(22,'preferences.use-last-view',NULL,'bool','True'); -INSERT INTO "grampsdb_config" VALUES(23,'preferences.paper-preference',NULL,'str','Letter'); -INSERT INTO "grampsdb_config" VALUES(24,'preferences.use-bsddb3',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(25,'preferences.hide-ep-msg',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(26,'preferences.iprefix',NULL,'str','I%04d'); -INSERT INTO "grampsdb_config" VALUES(27,'preferences.rprefix',NULL,'str','R%04d'); -INSERT INTO "grampsdb_config" VALUES(28,'preferences.sprefix',NULL,'str','S%04d'); -INSERT INTO "grampsdb_config" VALUES(29,'preferences.no-given-text',NULL,'unicode','[Missing Given Name]'); -INSERT INTO "grampsdb_config" VALUES(30,'preferences.paper-metric',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(31,'preferences.age-display-precision',NULL,'int','1'); -INSERT INTO "grampsdb_config" VALUES(32,'preferences.cprefix',NULL,'str','C%04d'); -INSERT INTO "grampsdb_config" VALUES(33,'preferences.invalid-date-format',NULL,'str','%s'); -INSERT INTO "grampsdb_config" VALUES(34,'preferences.last-views',NULL,'list','[]'); -INSERT INTO "grampsdb_config" VALUES(35,'preferences.pprefix',NULL,'str','P%04d'); -INSERT INTO "grampsdb_config" VALUES(36,'preferences.eprefix',NULL,'str','E%04d'); -INSERT INTO "grampsdb_config" VALUES(37,'preferences.name-format',NULL,'int','1'); -INSERT INTO "grampsdb_config" VALUES(38,'preferences.private-record-text',NULL,'unicode','[Private Record]'); -INSERT INTO "grampsdb_config" VALUES(39,'preferences.online-maps',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(40,'preferences.no-record-text',NULL,'unicode','[Missing Record]'); -INSERT INTO "grampsdb_config" VALUES(41,'preferences.date-format',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(42,'preferences.last-view',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(43,'preferences.patronimic-surname',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(44,'preferences.private-given-text',NULL,'unicode','[Living]'); -INSERT INTO "grampsdb_config" VALUES(45,'plugin.hiddenplugins',NULL,'list','[''htmlview'']'); -INSERT INTO "grampsdb_config" VALUES(46,'plugin.addonplugins',NULL,'list','[]'); -INSERT INTO "grampsdb_config" VALUES(47,'researcher.researcher-locality',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(48,'researcher.researcher-country',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(49,'researcher.researcher-name',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(50,'researcher.researcher-phone',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(51,'researcher.researcher-email',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(52,'researcher.researcher-state',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(53,'researcher.researcher-postal',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(54,'researcher.researcher-city',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(55,'researcher.researcher-addr',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(56,'export.proxy-order',NULL,'list','[[''privacy'', 0], [''living'', 0], [''person'', 0], [''note'', 0], [''reference'', 0]]'); -INSERT INTO "grampsdb_config" VALUES(57,'behavior.use-tips',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(58,'behavior.generation-depth',NULL,'int','15'); -INSERT INTO "grampsdb_config" VALUES(59,'behavior.last-check-for-updates',NULL,'str','1970/01/01'); -INSERT INTO "grampsdb_config" VALUES(60,'behavior.startup',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(61,'behavior.autoload',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(62,'behavior.pop-plugin-status',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(63,'behavior.do-not-show-previously-seen-updates',NULL,'bool','True'); -INSERT INTO "grampsdb_config" VALUES(64,'behavior.check-for-updates',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(65,'behavior.recent-export-type',NULL,'int','1'); -INSERT INTO "grampsdb_config" VALUES(66,'behavior.addmedia-image-dir',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(67,'behavior.date-about-range',NULL,'int','50'); -INSERT INTO "grampsdb_config" VALUES(68,'behavior.date-after-range',NULL,'int','50'); -INSERT INTO "grampsdb_config" VALUES(69,'behavior.owner-warn',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(70,'behavior.date-before-range',NULL,'int','50'); -INSERT INTO "grampsdb_config" VALUES(71,'behavior.min-generation-years',NULL,'int','13'); -INSERT INTO "grampsdb_config" VALUES(72,'behavior.welcome',NULL,'int','100'); -INSERT INTO "grampsdb_config" VALUES(73,'behavior.max-sib-age-diff',NULL,'int','20'); -INSERT INTO "grampsdb_config" VALUES(74,'behavior.previously-seen-updates',NULL,'list','[]'); -INSERT INTO "grampsdb_config" VALUES(75,'behavior.addmedia-relative-path',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(76,'behavior.spellcheck',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(77,'behavior.surname-guessing',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(78,'behavior.check-for-update-types',NULL,'list','[''new'']'); -INSERT INTO "grampsdb_config" VALUES(79,'behavior.avg-generation-gap',NULL,'int','20'); -INSERT INTO "grampsdb_config" VALUES(80,'behavior.database-path',NULL,'unicode','/home/dblank/.gramps/grampsdb'); -INSERT INTO "grampsdb_config" VALUES(81,'behavior.betawarn',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(82,'behavior.max-age-prob-alive',NULL,'int','110'); -INSERT INTO "grampsdb_config" VALUES(83,'behavior.web-search-url',NULL,'str','http://google.com/#&q=%(text)s'); -INSERT INTO "grampsdb_config" VALUES(84,'interface.family-height',NULL,'int','500'); -INSERT INTO "grampsdb_config" VALUES(85,'interface.sidebar-text',NULL,'bool','True'); -INSERT INTO "grampsdb_config" VALUES(86,'interface.source-ref-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(87,'interface.address-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(88,'interface.mapservice',NULL,'str','OpenStreetMap'); -INSERT INTO "grampsdb_config" VALUES(89,'interface.pedview-layout',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(90,'interface.family-width',NULL,'int','700'); -INSERT INTO "grampsdb_config" VALUES(91,'interface.toolbar-on',NULL,'bool','True'); -INSERT INTO "grampsdb_config" VALUES(92,'interface.citation-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(93,'interface.location-height',NULL,'int','250'); -INSERT INTO "grampsdb_config" VALUES(94,'interface.person-ref-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(95,'interface.address-width',NULL,'int','650'); -INSERT INTO "grampsdb_config" VALUES(96,'interface.edit-rule-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(97,'interface.filter-editor-width',NULL,'int','400'); -INSERT INTO "grampsdb_config" VALUES(98,'interface.child-ref-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(99,'interface.person-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(100,'interface.repo-width',NULL,'int','650'); -INSERT INTO "grampsdb_config" VALUES(101,'interface.pedview-tree-size',NULL,'int','5'); -INSERT INTO "grampsdb_config" VALUES(102,'interface.citation-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(103,'interface.edit-rule-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(104,'interface.place-width',NULL,'int','650'); -INSERT INTO "grampsdb_config" VALUES(105,'interface.place-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(106,'interface.source-ref-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(107,'interface.view',NULL,'bool','True'); -INSERT INTO "grampsdb_config" VALUES(108,'interface.source-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(109,'interface.clipboard-height',NULL,'int','300'); -INSERT INTO "grampsdb_config" VALUES(110,'interface.fullscreen',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(111,'interface.attribute-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(112,'interface.lds-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(113,'interface.edit-filter-width',NULL,'int','500'); -INSERT INTO "grampsdb_config" VALUES(114,'interface.clipboard-width',NULL,'int','300'); -INSERT INTO "grampsdb_config" VALUES(115,'interface.media-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(116,'interface.person-ref-height',NULL,'int','350'); -INSERT INTO "grampsdb_config" VALUES(117,'interface.citation-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(118,'interface.person-width',NULL,'int','750'); -INSERT INTO "grampsdb_config" VALUES(119,'interface.lds-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(120,'interface.name-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(121,'interface.event-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(122,'interface.child-ref-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(123,'interface.filter',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(18,'preferences.color-gender-unknown-alive',NULL,'str','#f3dbb6'); +INSERT INTO "grampsdb_config" VALUES(19,'preferences.default-source',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(20,'preferences.bordercolor-gender-female-death',NULL,'str','#000000'); +INSERT INTO "grampsdb_config" VALUES(21,'preferences.calendar-format-report',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(22,'preferences.oprefix',NULL,'str','O%04d'); +INSERT INTO "grampsdb_config" VALUES(23,'preferences.nprefix',NULL,'str','N%04d'); +INSERT INTO "grampsdb_config" VALUES(24,'preferences.tag-on-import-format',NULL,'str','Imported %Y/%m/%d %H:%M:%S'); +INSERT INTO "grampsdb_config" VALUES(25,'preferences.use-last-view',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(26,'preferences.color-gender-female-death',NULL,'str','#feccf0'); +INSERT INTO "grampsdb_config" VALUES(27,'preferences.paper-preference',NULL,'str','Letter'); +INSERT INTO "grampsdb_config" VALUES(28,'preferences.color-gender-male-death',NULL,'str','#b8cee6'); +INSERT INTO "grampsdb_config" VALUES(29,'preferences.use-bsddb3',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(30,'preferences.color-gender-unknown-death',NULL,'str','#f3dbb6'); +INSERT INTO "grampsdb_config" VALUES(31,'preferences.tag-on-import',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(32,'preferences.bordercolor-gender-unknown-alive',NULL,'str','#8e5801'); +INSERT INTO "grampsdb_config" VALUES(33,'preferences.hide-ep-msg',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(34,'preferences.iprefix',NULL,'str','I%04d'); +INSERT INTO "grampsdb_config" VALUES(35,'preferences.bordercolor-gender-unknown-death',NULL,'str','#000000'); +INSERT INTO "grampsdb_config" VALUES(36,'preferences.color-gender-male-alive',NULL,'str','#b8cee6'); +INSERT INTO "grampsdb_config" VALUES(37,'preferences.rprefix',NULL,'str','R%04d'); +INSERT INTO "grampsdb_config" VALUES(38,'preferences.sprefix',NULL,'str','S%04d'); +INSERT INTO "grampsdb_config" VALUES(39,'preferences.bordercolor-gender-female-alive',NULL,'str','#861f69'); +INSERT INTO "grampsdb_config" VALUES(40,'preferences.no-given-text',NULL,'str','[Missing Given Name]'); +INSERT INTO "grampsdb_config" VALUES(41,'preferences.paper-metric',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(42,'preferences.age-display-precision',NULL,'int','1'); +INSERT INTO "grampsdb_config" VALUES(43,'preferences.cprefix',NULL,'str','C%04d'); +INSERT INTO "grampsdb_config" VALUES(44,'preferences.invalid-date-format',NULL,'str','%s'); +INSERT INTO "grampsdb_config" VALUES(45,'preferences.bordercolor-gender-male-alive',NULL,'str','#1f4986'); +INSERT INTO "grampsdb_config" VALUES(46,'preferences.last-views',NULL,'list','[]'); +INSERT INTO "grampsdb_config" VALUES(47,'preferences.pprefix',NULL,'str','P%04d'); +INSERT INTO "grampsdb_config" VALUES(48,'preferences.eprefix',NULL,'str','E%04d'); +INSERT INTO "grampsdb_config" VALUES(49,'preferences.name-format',NULL,'int','1'); +INSERT INTO "grampsdb_config" VALUES(50,'preferences.private-record-text',NULL,'str','[Private Record]'); +INSERT INTO "grampsdb_config" VALUES(51,'preferences.color-gender-female-alive',NULL,'str','#feccf0'); +INSERT INTO "grampsdb_config" VALUES(52,'preferences.online-maps',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(53,'preferences.bordercolor-gender-male-death',NULL,'str','#000000'); +INSERT INTO "grampsdb_config" VALUES(54,'preferences.no-record-text',NULL,'str','[Missing Record]'); +INSERT INTO "grampsdb_config" VALUES(55,'preferences.date-format',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(56,'preferences.last-view',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(57,'preferences.patronimic-surname',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(58,'preferences.private-given-text',NULL,'str','[Living]'); +INSERT INTO "grampsdb_config" VALUES(59,'plugin.hiddenplugins',NULL,'list','[''htmlview'']'); +INSERT INTO "grampsdb_config" VALUES(60,'plugin.addonplugins',NULL,'list','[]'); +INSERT INTO "grampsdb_config" VALUES(61,'researcher.researcher-locality',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(62,'researcher.researcher-country',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(63,'researcher.researcher-name',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(64,'researcher.researcher-phone',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(65,'researcher.researcher-email',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(66,'researcher.researcher-state',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(67,'researcher.researcher-postal',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(68,'researcher.researcher-city',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(69,'researcher.researcher-addr',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(70,'export.proxy-order',NULL,'list','[[''privacy'', 0], [''living'', 0], [''person'', 0], [''note'', 0], [''reference'', 0]]'); +INSERT INTO "grampsdb_config" VALUES(71,'behavior.use-tips',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(72,'behavior.generation-depth',NULL,'int','15'); +INSERT INTO "grampsdb_config" VALUES(73,'behavior.last-check-for-updates',NULL,'str','1970/01/01'); +INSERT INTO "grampsdb_config" VALUES(74,'behavior.startup',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(75,'behavior.autoload',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(76,'behavior.ignore-gexiv2',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(77,'behavior.pop-plugin-status',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(78,'behavior.do-not-show-previously-seen-updates',NULL,'bool','True'); +INSERT INTO "grampsdb_config" VALUES(79,'behavior.check-for-updates',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(80,'behavior.recent-export-type',NULL,'int','1'); +INSERT INTO "grampsdb_config" VALUES(81,'behavior.addons-url',NULL,'str','http://svn.code.sf.net/p/gramps-addons/code/trunk/'); +INSERT INTO "grampsdb_config" VALUES(82,'behavior.addmedia-image-dir',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(83,'behavior.ignore-osmgpsmap',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(84,'behavior.date-about-range',NULL,'int','50'); +INSERT INTO "grampsdb_config" VALUES(85,'behavior.date-after-range',NULL,'int','50'); +INSERT INTO "grampsdb_config" VALUES(86,'behavior.owner-warn',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(87,'behavior.date-before-range',NULL,'int','50'); +INSERT INTO "grampsdb_config" VALUES(88,'behavior.min-generation-years',NULL,'int','13'); +INSERT INTO "grampsdb_config" VALUES(89,'behavior.welcome',NULL,'int','100'); +INSERT INTO "grampsdb_config" VALUES(90,'behavior.max-sib-age-diff',NULL,'int','20'); +INSERT INTO "grampsdb_config" VALUES(91,'behavior.previously-seen-updates',NULL,'list','[]'); +INSERT INTO "grampsdb_config" VALUES(92,'behavior.addmedia-relative-path',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(93,'behavior.spellcheck',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(94,'behavior.surname-guessing',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(95,'behavior.check-for-update-types',NULL,'list','[''new'']'); +INSERT INTO "grampsdb_config" VALUES(96,'behavior.avg-generation-gap',NULL,'int','20'); +INSERT INTO "grampsdb_config" VALUES(97,'behavior.database-path',NULL,'unicode','/home/dblank/.gramps/grampsdb'); +INSERT INTO "grampsdb_config" VALUES(98,'behavior.betawarn',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(99,'behavior.max-age-prob-alive',NULL,'int','110'); +INSERT INTO "grampsdb_config" VALUES(100,'behavior.web-search-url',NULL,'str','http://google.com/#&q=%(text)s'); +INSERT INTO "grampsdb_config" VALUES(101,'interface.family-height',NULL,'int','500'); +INSERT INTO "grampsdb_config" VALUES(102,'interface.sidebar-text',NULL,'bool','True'); +INSERT INTO "grampsdb_config" VALUES(103,'interface.source-ref-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(104,'interface.address-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(105,'interface.mapservice',NULL,'str','OpenStreetMap'); +INSERT INTO "grampsdb_config" VALUES(106,'interface.pedview-layout',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(107,'interface.family-width',NULL,'int','700'); +INSERT INTO "grampsdb_config" VALUES(108,'interface.toolbar-on',NULL,'bool','True'); +INSERT INTO "grampsdb_config" VALUES(109,'interface.citation-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(110,'interface.location-height',NULL,'int','250'); +INSERT INTO "grampsdb_config" VALUES(111,'interface.person-ref-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(112,'interface.address-width',NULL,'int','650'); +INSERT INTO "grampsdb_config" VALUES(113,'interface.edit-rule-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(114,'interface.filter-editor-width',NULL,'int','400'); +INSERT INTO "grampsdb_config" VALUES(115,'interface.child-ref-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(116,'interface.person-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(117,'interface.repo-width',NULL,'int','650'); +INSERT INTO "grampsdb_config" VALUES(118,'interface.pedview-tree-size',NULL,'int','5'); +INSERT INTO "grampsdb_config" VALUES(119,'interface.citation-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(120,'interface.edit-rule-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(121,'interface.place-width',NULL,'int','650'); +INSERT INTO "grampsdb_config" VALUES(122,'interface.place-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(123,'interface.source-ref-width',NULL,'int','600'); INSERT INTO "grampsdb_config" VALUES(124,'interface.repo-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(125,'interface.media-ref-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(126,'interface.family-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(127,'interface.pedview-show-marriage',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(128,'interface.height',NULL,'int','500'); -INSERT INTO "grampsdb_config" VALUES(129,'interface.media-width',NULL,'int','650'); -INSERT INTO "grampsdb_config" VALUES(130,'interface.event-ref-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(131,'interface.repo-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(132,'interface.media-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(133,'interface.width',NULL,'int','775'); -INSERT INTO "grampsdb_config" VALUES(134,'interface.size-checked',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(135,'interface.media-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(136,'interface.source-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(137,'interface.surname-box-height',NULL,'int','150'); -INSERT INTO "grampsdb_config" VALUES(138,'interface.repo-ref-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(139,'interface.name-height',NULL,'int','350'); -INSERT INTO "grampsdb_config" VALUES(140,'interface.event-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(141,'interface.note-width',NULL,'int','700'); -INSERT INTO "grampsdb_config" VALUES(142,'interface.statusbar',NULL,'int','1'); -INSERT INTO "grampsdb_config" VALUES(143,'interface.person-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(144,'interface.note-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(145,'interface.view-categories',NULL,'list','[''Gramplets'', ''People'', ''Relationships'', ''Families'', ''Ancestry'', ''Events'', ''Places'', ''Geography'', ''Sources'', ''Citations'', ''Repositories'', ''Media'', ''Notes'']'); -INSERT INTO "grampsdb_config" VALUES(146,'interface.repo-ref-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(147,'interface.event-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(148,'interface.note-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(149,'interface.person-height',NULL,'int','550'); -INSERT INTO "grampsdb_config" VALUES(150,'interface.repo-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(151,'interface.attribute-height',NULL,'int','350'); -INSERT INTO "grampsdb_config" VALUES(152,'interface.event-ref-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(153,'interface.source-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(154,'interface.edit-filter-height',NULL,'int','420'); -INSERT INTO "grampsdb_config" VALUES(155,'interface.pedview-tree-direction',NULL,'int','2'); -INSERT INTO "grampsdb_config" VALUES(156,'interface.family-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(157,'interface.source-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(158,'interface.url-height',NULL,'int','150'); -INSERT INTO "grampsdb_config" VALUES(159,'interface.filter-editor-height',NULL,'int','350'); -INSERT INTO "grampsdb_config" VALUES(160,'interface.media-ref-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(161,'interface.pedview-show-unknown-people',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(162,'interface.location-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(163,'interface.place-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(164,'interface.citation-sel-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(165,'interface.pedview-show-images',NULL,'bool','True'); -INSERT INTO "grampsdb_config" VALUES(166,'interface.url-width',NULL,'int','600'); -INSERT INTO "grampsdb_config" VALUES(167,'interface.event-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(168,'interface.note-height',NULL,'int','500'); -INSERT INTO "grampsdb_config" VALUES(169,'interface.open-with-default-viewer',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(170,'interface.place-sel-height',NULL,'int','450'); -INSERT INTO "grampsdb_config" VALUES(171,'interface.dont-ask',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(172,'geography.map',NULL,'str','person'); -INSERT INTO "grampsdb_config" VALUES(173,'geography.zoom_when_center',NULL,'int','12'); -INSERT INTO "grampsdb_config" VALUES(174,'geography.center-lon',NULL,'float','0.0'); -INSERT INTO "grampsdb_config" VALUES(175,'geography.show_cross',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(176,'geography.zoom',NULL,'int','0'); -INSERT INTO "grampsdb_config" VALUES(177,'geography.map_service',NULL,'int','1'); -INSERT INTO "grampsdb_config" VALUES(178,'geography.lock',NULL,'bool','False'); -INSERT INTO "grampsdb_config" VALUES(179,'geography.path',NULL,'str',''); -INSERT INTO "grampsdb_config" VALUES(180,'geography.center-lat',NULL,'float','0.0'); +INSERT INTO "grampsdb_config" VALUES(125,'interface.source-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(126,'interface.clipboard-height',NULL,'int','300'); +INSERT INTO "grampsdb_config" VALUES(127,'interface.fullscreen',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(128,'interface.attribute-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(129,'interface.lds-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(130,'interface.view',NULL,'bool','True'); +INSERT INTO "grampsdb_config" VALUES(131,'interface.edit-filter-width',NULL,'int','500'); +INSERT INTO "grampsdb_config" VALUES(132,'interface.clipboard-width',NULL,'int','300'); +INSERT INTO "grampsdb_config" VALUES(133,'interface.media-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(134,'interface.person-ref-height',NULL,'int','350'); +INSERT INTO "grampsdb_config" VALUES(135,'interface.citation-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(136,'interface.person-width',NULL,'int','750'); +INSERT INTO "grampsdb_config" VALUES(137,'interface.lds-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(138,'interface.name-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(139,'interface.event-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(140,'interface.child-ref-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(141,'interface.filter',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(142,'interface.pedview-tree-direction',NULL,'int','2'); +INSERT INTO "grampsdb_config" VALUES(143,'interface.media-ref-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(144,'interface.family-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(145,'interface.pedview-show-marriage',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(146,'interface.height',NULL,'int','500'); +INSERT INTO "grampsdb_config" VALUES(147,'interface.media-width',NULL,'int','650'); +INSERT INTO "grampsdb_config" VALUES(148,'interface.event-ref-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(149,'interface.repo-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(150,'interface.grampletbar-close',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(151,'interface.media-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(152,'interface.width',NULL,'int','775'); +INSERT INTO "grampsdb_config" VALUES(153,'interface.size-checked',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(154,'interface.media-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(155,'interface.source-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(156,'interface.surname-box-height',NULL,'int','150'); +INSERT INTO "grampsdb_config" VALUES(157,'interface.repo-ref-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(158,'interface.name-height',NULL,'int','350'); +INSERT INTO "grampsdb_config" VALUES(159,'interface.event-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(160,'interface.note-width',NULL,'int','700'); +INSERT INTO "grampsdb_config" VALUES(161,'interface.statusbar',NULL,'int','1'); +INSERT INTO "grampsdb_config" VALUES(162,'interface.person-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(163,'interface.note-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(164,'interface.view-categories',NULL,'list','[''Dashboard'', ''People'', ''Relationships'', ''Families'', ''Ancestry'', ''Events'', ''Places'', ''Geography'', ''Sources'', ''Citations'', ''Repositories'', ''Media'', ''Notes'']'); +INSERT INTO "grampsdb_config" VALUES(165,'interface.repo-ref-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(166,'interface.event-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(167,'interface.note-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(168,'interface.person-height',NULL,'int','550'); +INSERT INTO "grampsdb_config" VALUES(169,'interface.repo-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(170,'interface.attribute-height',NULL,'int','350'); +INSERT INTO "grampsdb_config" VALUES(171,'interface.event-ref-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(172,'interface.source-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(173,'interface.edit-filter-height',NULL,'int','420'); +INSERT INTO "grampsdb_config" VALUES(174,'interface.family-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(175,'interface.source-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(176,'interface.url-height',NULL,'int','150'); +INSERT INTO "grampsdb_config" VALUES(177,'interface.filter-editor-height',NULL,'int','350'); +INSERT INTO "grampsdb_config" VALUES(178,'interface.media-ref-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(179,'interface.pedview-show-unknown-people',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(180,'interface.location-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(181,'interface.place-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(182,'interface.citation-sel-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(183,'interface.pedview-show-images',NULL,'bool','True'); +INSERT INTO "grampsdb_config" VALUES(184,'interface.url-width',NULL,'int','600'); +INSERT INTO "grampsdb_config" VALUES(185,'interface.event-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(186,'interface.note-height',NULL,'int','500'); +INSERT INTO "grampsdb_config" VALUES(187,'interface.open-with-default-viewer',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(188,'interface.place-sel-height',NULL,'int','450'); +INSERT INTO "grampsdb_config" VALUES(189,'interface.dont-ask',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(190,'geography.map',NULL,'str','person'); +INSERT INTO "grampsdb_config" VALUES(191,'geography.zoom_when_center',NULL,'int','12'); +INSERT INTO "grampsdb_config" VALUES(192,'geography.center-lon',NULL,'float','0.0'); +INSERT INTO "grampsdb_config" VALUES(193,'geography.show_cross',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(194,'geography.zoom',NULL,'int','0'); +INSERT INTO "grampsdb_config" VALUES(195,'geography.map_service',NULL,'int','1'); +INSERT INTO "grampsdb_config" VALUES(196,'geography.lock',NULL,'bool','False'); +INSERT INTO "grampsdb_config" VALUES(197,'geography.path',NULL,'str',''); +INSERT INTO "grampsdb_config" VALUES(198,'geography.center-lat',NULL,'float','0.0'); CREATE TABLE "grampsdb_tag" ( "id" integer NOT NULL PRIMARY KEY, "handle" varchar(19) NOT NULL UNIQUE, @@ -1022,7 +1032,8 @@ CREATE TABLE "grampsdb_media" ( "cache" text, "path" text NOT NULL, "mime" text, - "desc" text NOT NULL + "desc" text NOT NULL, + "checksum" text NOT NULL ); CREATE TABLE "grampsdb_note_tags" ( "id" integer NOT NULL PRIMARY KEY, @@ -1125,18 +1136,20 @@ CREATE TABLE "grampsdb_markup" ( "string" text, "start_stop_list" text NOT NULL ); -CREATE TABLE "grampsdb_sourcedatamap" ( +CREATE TABLE "grampsdb_sourceattribute" ( "id" integer NOT NULL PRIMARY KEY, "key" varchar(80) NOT NULL, "value" varchar(80) NOT NULL, "source_id" integer NOT NULL REFERENCES "grampsdb_source" ("id"), + "private" bool NOT NULL, "order" integer unsigned NOT NULL ); -CREATE TABLE "grampsdb_citationdatamap" ( +CREATE TABLE "grampsdb_citationattribute" ( "id" integer NOT NULL PRIMARY KEY, "key" varchar(80) NOT NULL, "value" varchar(80) NOT NULL, "citation_id" integer NOT NULL REFERENCES "grampsdb_citation" ("id"), + "private" bool NOT NULL, "order" integer unsigned NOT NULL ); CREATE TABLE "grampsdb_address" ( @@ -1347,7 +1360,6 @@ CREATE INDEX "auth_user_user_permissions_fbfc09f1" ON "auth_user_user_permission CREATE INDEX "auth_user_user_permissions_1e014c8f" ON "auth_user_user_permissions" ("permission_id"); CREATE INDEX "auth_user_groups_fbfc09f1" ON "auth_user_groups" ("user_id"); CREATE INDEX "auth_user_groups_bda51c3c" ON "auth_user_groups" ("group_id"); -CREATE INDEX "auth_message_fbfc09f1" ON "auth_message" ("user_id"); CREATE INDEX "django_session_c25c2c28" ON "django_session" ("expire_date"); CREATE INDEX "django_admin_log_fbfc09f1" ON "django_admin_log" ("user_id"); CREATE INDEX "django_admin_log_e4470c6e" ON "django_admin_log" ("content_type_id"); @@ -1389,8 +1401,8 @@ CREATE INDEX "grampsdb_lds_21b911c5" ON "grampsdb_lds" ("person_id"); CREATE INDEX "grampsdb_lds_ccf20756" ON "grampsdb_lds" ("family_id"); CREATE INDEX "grampsdb_markup_14a186ec" ON "grampsdb_markup" ("note_id"); CREATE INDEX "grampsdb_markup_b91c6fdf" ON "grampsdb_markup" ("styled_text_tag_type_id"); -CREATE INDEX "grampsdb_sourcedatamap_89f89e85" ON "grampsdb_sourcedatamap" ("source_id"); -CREATE INDEX "grampsdb_citationdatamap_958eecfd" ON "grampsdb_citationdatamap" ("citation_id"); +CREATE INDEX "grampsdb_sourceattribute_89f89e85" ON "grampsdb_sourceattribute" ("source_id"); +CREATE INDEX "grampsdb_citationattribute_958eecfd" ON "grampsdb_citationattribute" ("citation_id"); CREATE INDEX "grampsdb_address_21b911c5" ON "grampsdb_address" ("person_id"); CREATE INDEX "grampsdb_address_6a730446" ON "grampsdb_address" ("repository_id"); CREATE INDEX "grampsdb_location_c4391d6c" ON "grampsdb_location" ("place_id");