diff --git a/installation/sql/mysql/sample_data.sql b/installation/sql/mysql/sample_data.sql index 154437197b3a9..144a11a846a09 100644 --- a/installation/sql/mysql/sample_data.sql +++ b/installation/sql/mysql/sample_data.sql @@ -11,6 +11,7 @@ TRUNCATE `#__menu`; TRUNCATE `#__menu_types`; TRUNCATE `#__modules`; TRUNCATE `#__modules_menu`; +TRUNCATE `#__tags`; INSERT IGNORE INTO `#__assets` (`id`, `parent_id`, `lft`, `rgt`, `level`, `name`, `title`, `rules`) VALUES (1, 0, 0, 119, 0, 'root.1', 'Root Asset', '{"core.login.site":{"6":1,"2":1},"core.login.admin":{"6":1},"core.login.offline":{"6":1},"core.admin":{"8":1},"core.manage":{"7":1},"core.create":{"6":1,"3":1},"core.delete":{"6":1},"core.edit":{"6":1,"4":1},"core.edit.state":{"6":1,"5":1},"core.edit.own":{"6":1,"3":1}}'), diff --git a/installation/sql/mysql/sample_testing.sql b/installation/sql/mysql/sample_testing.sql index 9867b9a2b25a1..e28fc92f619b2 100644 --- a/installation/sql/mysql/sample_testing.sql +++ b/installation/sql/mysql/sample_testing.sql @@ -12,6 +12,7 @@ TRUNCATE `#__menu_types`; TRUNCATE `#__modules`; TRUNCATE `#__modules_menu`; TRUNCATE `#__usergroups`; +TRUNCATE `#__tags`; INSERT IGNORE INTO `#__assets` (`id`, `parent_id`, `lft`, `rgt`, `level`, `name`, `title`, `rules`) VALUES (1, 0, 1, 437, 0, 'root.1', 'Root Asset', '{"core.login.site":{"6":1,"2":1},"core.login.admin":{"6":1},"core.admin":{"8":1},"core.manage":{"7":1},"core.create":{"6":1,"3":1},"core.delete":{"6":1},"core.edit":{"6":1,"4":1},"core.edit.state":{"6":1,"5":1},"core.edit.own":{"6":1,"3":1}}'), diff --git a/installation/sql/postgresql/sample_testing.sql b/installation/sql/postgresql/sample_testing.sql index 9f1c339190562..5c0e0b6b90d86 100644 --- a/installation/sql/postgresql/sample_testing.sql +++ b/installation/sql/postgresql/sample_testing.sql @@ -806,7 +806,7 @@ SELECT setval('#__newsfeeds_id_seq', max(id)) FROM #__newsfeeds; -- Dumping data for table #__tags -- INSERT INTO "#__tags" VALUES -(1,0,0,1,0,'','ROOT','root','','',1,0,'1970-01-01 00:00:00',1,'{}','','','',0,'2011-01-01 00:00:01','',0,'1970-01-01 00:00:00','','',0,'*',1,'1970-01-01 00:00:00','1970-01-01 00:00:00'), +(1,0,0,9,0,'','ROOT','root','','',1,0,'1970-01-01 00:00:00',1,'{}','','','',0,'2011-01-01 00:00:01','',0,'1970-01-01 00:00:00','','',0,'*',1,'1970-01-01 00:00:00','1970-01-01 00:00:00'), (2,1,1,2,1,'red','Red','red','','',1,0,'1970-01-01 00:00:00',1,'{"tag_layout":"","tag_link_class":"label label-info","image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}','','','{"author":"","robots":""}',716,'2013-10-15 14:52:40','',0,'1970-01-01 00:00:00','','',2,'*',1,'1970-01-01 00:00:00','1970-01-01 00:00:00'), (3,1,3,4,1,'yellow','Yellow','yellow','','',1,0,'1970-01-01 00:00:00',1,'{"tag_layout":"","tag_link_class":"label label-info","image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}','','','{"author":"","robots":""}',716,'2013-10-15 14:52:53','',0,'1970-01-01 00:00:00','','',2,'*',1,'1970-01-01 00:00:00','1970-01-01 00:00:00'), (4,1,5,8,1,'green','Green','green','','',1,0,'1970-01-01 00:00:00',1,'{"tag_layout":"","tag_link_class":"label label-info","image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}','','','{"author":"","robots":""}',716,'2013-10-15 14:53:14','',0,'1970-01-01 00:00:00','','',0,'*',1,'1970-01-01 00:00:00','1970-01-01 00:00:00'), diff --git a/installation/sql/sqlazure/sample_testing.sql b/installation/sql/sqlazure/sample_testing.sql index 69bcaed71fa41..0388358ae01b2 100644 --- a/installation/sql/sqlazure/sample_testing.sql +++ b/installation/sql/sqlazure/sample_testing.sql @@ -1123,7 +1123,7 @@ SET IDENTITY_INSERT [#__newsfeeds] OFF; SET IDENTITY_INSERT [#__tags] ON; -INSERT [#__tags] ([id], [parent_id], [lft], [rgt], [level], [path], [title], [alias], [note], [description], [published], [checked_out], [checked_out_time], [access], [params], [metadesc], [metakey], [metadata], [created_user_id], [created_time], [created_by_alias], [modified_user_id], [modified_time], [images], [urls], [hits], [language], [version], [publish_up], [publish_down]) VALUES (1, 0, 0, 1, 0, '', 'ROOT', 'root', '', '', 1, 0, '1900-01-01 00:00:00', 1, '{}', '', '', '', 0, '2011-01-01 00:00:00', '', 0, '1900-01-01 00:00:00', '', '', 0, '*', 1, '1900-01-01 00:00:00', '1900-01-01 00:00:00'); +INSERT [#__tags] ([id], [parent_id], [lft], [rgt], [level], [path], [title], [alias], [note], [description], [published], [checked_out], [checked_out_time], [access], [params], [metadesc], [metakey], [metadata], [created_user_id], [created_time], [created_by_alias], [modified_user_id], [modified_time], [images], [urls], [hits], [language], [version], [publish_up], [publish_down]) VALUES (1, 0, 0, 9, 0, '', 'ROOT', 'root', '', '', 1, 0, '1900-01-01 00:00:00', 1, '{}', '', '', '', 0, '2011-01-01 00:00:00', '', 0, '1900-01-01 00:00:00', '', '', 0, '*', 1, '1900-01-01 00:00:00', '1900-01-01 00:00:00'); INSERT [#__tags] ([id], [parent_id], [lft], [rgt], [level], [path], [title], [alias], [note], [description], [published], [checked_out], [checked_out_time], [access], [params], [metadesc], [metakey], [metadata], [created_user_id], [created_time], [created_by_alias], [modified_user_id], [modified_time], [images], [urls], [hits], [language], [version], [publish_up], [publish_down]) VALUES (2, 1, 1, 2, 1, 'red', 'Red', 'red', '', '', 1, 0, '1900-01-01 00:00:00', 1, '{"tag_layout":"","tag_link_class":"label label-info","image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}', '', '', '{"author":"","robots":""}', 716, '2011-01-01 00:00:00', '', 0, '1900-01-01 00:00:00', '', '', 2, '*', 1, '1900-01-01 00:00:00', '1900-01-01 00:00:00'); INSERT [#__tags] ([id], [parent_id], [lft], [rgt], [level], [path], [title], [alias], [note], [description], [published], [checked_out], [checked_out_time], [access], [params], [metadesc], [metakey], [metadata], [created_user_id], [created_time], [created_by_alias], [modified_user_id], [modified_time], [images], [urls], [hits], [language], [version], [publish_up], [publish_down]) VALUES (3, 1, 3, 4, 1, 'yellow', 'Yellow', 'yellow', '', '', 1, 0, '1900-01-01 00:00:00', 1, '{"tag_layout":"","tag_link_class":"label label-info","image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}', '', '', '{"author":"","robots":""}', 716, '2011-01-01 00:00:00', '', 0, '1900-01-01 00:00:00', '', '', 2, '*', 1, '1900-01-01 00:00:00', '1900-01-01 00:00:00'); INSERT [#__tags] ([id], [parent_id], [lft], [rgt], [level], [path], [title], [alias], [note], [description], [published], [checked_out], [checked_out_time], [access], [params], [metadesc], [metakey], [metadata], [created_user_id], [created_time], [created_by_alias], [modified_user_id], [modified_time], [images], [urls], [hits], [language], [version], [publish_up], [publish_down]) VALUES (4, 1, 5, 8, 1, 'green', 'Green', 'green', '', '', 1, 0, '1900-01-01 00:00:00', 1, '{"tag_layout":"","tag_link_class":"label label-info","image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}', '', '', '{"author":"","robots":""}', 716, '2011-01-01 00:00:00', '', 0, '1900-01-01 00:00:00', '', '', 0, '*', 1, '1900-01-01 00:00:00', '1900-01-01 00:00:00');