PageRenderTime 47ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/setup/MySQL/MySQLSetup1.6.0.sql

#
SQL | 390 lines | 362 code | 27 blank | 1 comment | 0 complexity | e76441e1cc05ef1808f279015d4878c1 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. CREATE TABLE `be_Categories` (
  2. `CategoryID` varchar(36) NOT NULL DEFAULT '',
  3. `CategoryName` varchar(50) DEFAULT NULL,
  4. `Description` varchar(200) DEFAULT NULL,
  5. `ParentID` varchar(36) DEFAULT NULL,
  6. PRIMARY KEY (`CategoryID`)
  7. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  8. CREATE TABLE `be_DataStoreSettings` (
  9. `ExtensionType` varchar(50) NOT NULL,
  10. `ExtensionId` varchar(100) NOT NULL,
  11. `Settings` text NOT NULL
  12. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  13. CREATE TABLE `be_Pages` (
  14. `PageID` varchar(36) NOT NULL DEFAULT '',
  15. `Title` varchar(255) NOT NULL DEFAULT '',
  16. `Description` text,
  17. `PageContent` longtext,
  18. `Keywords` text,
  19. `DateCreated` datetime DEFAULT NULL,
  20. `DateModified` datetime DEFAULT NULL,
  21. `IsPublished` tinyint(1) DEFAULT NULL,
  22. `IsFrontPage` tinyint(1) DEFAULT NULL,
  23. `Parent` varchar(64) DEFAULT NULL,
  24. `ShowInList` tinyint(1) DEFAULT NULL,
  25. `Slug` varchar(255) DEFAULT NULL,
  26. PRIMARY KEY (`PageID`)
  27. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  28. CREATE TABLE `be_PingService` (
  29. `PingServiceID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  30. `Link` varchar(255) DEFAULT NULL,
  31. PRIMARY KEY (`PingServiceID`)
  32. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  33. CREATE TABLE `be_Posts` (
  34. `PostID` varchar(36) NOT NULL DEFAULT '',
  35. `Title` varchar(255) NOT NULL DEFAULT '',
  36. `Description` text NOT NULL,
  37. `PostContent` longtext NOT NULL,
  38. `DateCreated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  39. `DateModified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  40. `Author` varchar(50) NOT NULL DEFAULT '',
  41. `IsPublished` tinyint(1) NOT NULL DEFAULT '0',
  42. `IsCommentEnabled` tinyint(1) NOT NULL DEFAULT '0',
  43. `Raters` int(10) UNSIGNED NOT NULL DEFAULT '0',
  44. `Rating` float NOT NULL DEFAULT '0',
  45. `Slug` varchar(255) NOT NULL DEFAULT '',
  46. PRIMARY KEY (`PostID`)
  47. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  48. CREATE TABLE `be_Profiles` (
  49. `ProfileID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  50. `UserName` varchar(100) NOT NULL,
  51. `SettingName` varchar(200) NOT NULL,
  52. `SettingValue` text NOT NULL,
  53. PRIMARY KEY (`ProfileID`)
  54. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  55. CREATE TABLE `be_Roles` (
  56. `RoleID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  57. `Role` varchar(100) NOT NULL,
  58. PRIMARY KEY (`RoleID`)
  59. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  60. CREATE TABLE `be_Settings` (
  61. `SettingName` varchar(50) NOT NULL,
  62. `SettingValue` text,
  63. PRIMARY KEY (`SettingName`)
  64. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  65. CREATE TABLE `be_StopWords` (
  66. `StopWord` varchar(50) NOT NULL,
  67. PRIMARY KEY (`StopWord`)
  68. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  69. CREATE TABLE `be_Users` (
  70. `UserID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  71. `UserName` varchar(100) DEFAULT NULL,
  72. `Password` varchar(255) DEFAULT NULL,
  73. `LastLoginTime` datetime DEFAULT '0000-00-00 00:00:00',
  74. `EmailAddress` varchar(100) DEFAULT NULL,
  75. PRIMARY KEY (`UserID`)
  76. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  77. CREATE TABLE `be_UserRoles` (
  78. `UserRoleID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  79. `UserID` int(10) UNSIGNED NOT NULL DEFAULT '0',
  80. `RoleID` int(10) UNSIGNED NOT NULL DEFAULT '0',
  81. PRIMARY KEY (`UserRoleID`)
  82. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  83. CREATE TABLE `be_PostCategory` (
  84. `PostCategoryID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  85. `PostID` varchar(36) NOT NULL DEFAULT '',
  86. `CategoryID` varchar(36) NOT NULL DEFAULT '',
  87. PRIMARY KEY (`PostCategoryID`)
  88. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
  89. CREATE TABLE `be_PostComment` (
  90. `PostCommentID` varchar(36) NOT NULL DEFAULT '',
  91. `PostID` varchar(36) NOT NULL DEFAULT '',
  92. `ParentCommentID` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
  93. `CommentDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  94. `Author` varchar(255) NOT NULL DEFAULT '',
  95. `Email` varchar(255) NOT NULL DEFAULT '',
  96. `Website` varchar(255) NOT NULL DEFAULT '',
  97. `Comment` text NOT NULL,
  98. `Country` varchar(255) NOT NULL DEFAULT '',
  99. `Ip` varchar(50) NOT NULL DEFAULT '',
  100. `IsApproved` tinyint(1) NOT NULL DEFAULT '0',
  101. `ModeratedBy` varchar(100) DEFAULT NULL,
  102. `Avatar` varchar(255) DEFAULT NULL,
  103. PRIMARY KEY (`PostCommentID`)
  104. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  105. CREATE TABLE `be_PostNotify` (
  106. `PostNotifyID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  107. `PostID` varchar(36) NOT NULL DEFAULT '',
  108. `NotifyAddress` varchar(255) DEFAULT NULL,
  109. PRIMARY KEY (`PostNotifyID`)
  110. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  111. CREATE TABLE `be_PostTag` (
  112. `PostTagID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  113. `PostID` varchar(36) NOT NULL DEFAULT '',
  114. `Tag` varchar(50) DEFAULT NULL,
  115. PRIMARY KEY (`PostTagID`)
  116. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
  117. CREATE TABLE IF NOT EXISTS `be_BlogRollItems` (
  118. `BlogRollID` varchar(36) NOT NULL,
  119. `Title` varchar(255) NOT NULL,
  120. `Description` longtext DEFAULT NULL,
  121. `BlogUrl` varchar(255) NOT NULL,
  122. `FeedUrl` varchar(255) DEFAULT NULL,
  123. `Xfn` varchar(255) DEFAULT NULL,
  124. `SortIndex` int(10) NOT NULL,
  125. PRIMARY KEY (`BlogRollID`)
  126. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  127. CREATE TABLE IF NOT EXISTS `be_Referrers` (
  128. `ReferrerId` varchar(36) NOT NULL,
  129. `ReferralDay` datetime NOT NULL,
  130. `ReferrerUrl` varchar(255) NOT NULL,
  131. `ReferralCount` int(10) NOT NULL,
  132. `Url` varchar(255) DEFAULT NULL,
  133. `IsSpam` tinyint(1) NULL,
  134. PRIMARY KEY (`ReferrerId`)
  135. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  136. /*** Load initial Data ***/
  137. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('administratorrole', 'Administrators');
  138. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('alternatefeedurl', '');
  139. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('authorname', 'My name');
  140. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('avatar', 'combine');
  141. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollmaxlength', '23');
  142. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollupdateminutes', '60');
  143. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollvisibleposts', '3');
  144. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactformmessage', '<p>I will answer the mail as soon as I can.</p>');
  145. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '<h1>Thank you</h1><p>The message was sent.</p>');
  146. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto');
  147. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0');
  148. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog');
  149. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True');
  150. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True');
  151. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com');
  152. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog');
  153. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True');
  154. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False');
  155. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True');
  156. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True');
  157. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True');
  158. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True');
  159. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True');
  160. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True');
  161. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True');
  162. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False');
  163. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True');
  164. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False');
  165. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True');
  166. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True');
  167. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd');
  168. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx');
  169. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0');
  170. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0');
  171. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', '');
  172. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False');
  173. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True');
  174. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB');
  175. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile');
  176. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog');
  177. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10');
  178. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10');
  179. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10');
  180. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10');
  181. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True');
  182. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search');
  183. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search');
  184. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term');
  185. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True');
  186. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False');
  187. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True');
  188. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True');
  189. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password');
  190. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk');
  191. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25');
  192. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com');
  193. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/');
  194. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss');
  195. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard');
  196. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True');
  197. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5');
  198. INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', '');
  199. INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping');
  200. INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2');
  201. INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com');
  202. INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping');
  203. INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx');
  204. INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 ');
  205. INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2');
  206. INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/');
  207. INSERT INTO be_StopWords (StopWord) VALUES ('a');
  208. INSERT INTO be_StopWords (StopWord) VALUES ('about');
  209. INSERT INTO be_StopWords (StopWord) VALUES ('actually');
  210. INSERT INTO be_StopWords (StopWord) VALUES ('add');
  211. INSERT INTO be_StopWords (StopWord) VALUES ('after');
  212. INSERT INTO be_StopWords (StopWord) VALUES ('all');
  213. INSERT INTO be_StopWords (StopWord) VALUES ('almost');
  214. INSERT INTO be_StopWords (StopWord) VALUES ('along');
  215. INSERT INTO be_StopWords (StopWord) VALUES ('also');
  216. INSERT INTO be_StopWords (StopWord) VALUES ('an');
  217. INSERT INTO be_StopWords (StopWord) VALUES ('and');
  218. INSERT INTO be_StopWords (StopWord) VALUES ('any');
  219. INSERT INTO be_StopWords (StopWord) VALUES ('are');
  220. INSERT INTO be_StopWords (StopWord) VALUES ('as');
  221. INSERT INTO be_StopWords (StopWord) VALUES ('at');
  222. INSERT INTO be_StopWords (StopWord) VALUES ('be');
  223. INSERT INTO be_StopWords (StopWord) VALUES ('both');
  224. INSERT INTO be_StopWords (StopWord) VALUES ('but');
  225. INSERT INTO be_StopWords (StopWord) VALUES ('by');
  226. INSERT INTO be_StopWords (StopWord) VALUES ('can');
  227. INSERT INTO be_StopWords (StopWord) VALUES ('cannot');
  228. INSERT INTO be_StopWords (StopWord) VALUES ('com');
  229. INSERT INTO be_StopWords (StopWord) VALUES ('could');
  230. INSERT INTO be_StopWords (StopWord) VALUES ('de');
  231. INSERT INTO be_StopWords (StopWord) VALUES ('do');
  232. INSERT INTO be_StopWords (StopWord) VALUES ('down');
  233. INSERT INTO be_StopWords (StopWord) VALUES ('each');
  234. INSERT INTO be_StopWords (StopWord) VALUES ('either');
  235. INSERT INTO be_StopWords (StopWord) VALUES ('en');
  236. INSERT INTO be_StopWords (StopWord) VALUES ('for');
  237. INSERT INTO be_StopWords (StopWord) VALUES ('from');
  238. INSERT INTO be_StopWords (StopWord) VALUES ('good');
  239. INSERT INTO be_StopWords (StopWord) VALUES ('has');
  240. INSERT INTO be_StopWords (StopWord) VALUES ('have');
  241. INSERT INTO be_StopWords (StopWord) VALUES ('he');
  242. INSERT INTO be_StopWords (StopWord) VALUES ('her');
  243. INSERT INTO be_StopWords (StopWord) VALUES ('here');
  244. INSERT INTO be_StopWords (StopWord) VALUES ('hers');
  245. INSERT INTO be_StopWords (StopWord) VALUES ('his');
  246. INSERT INTO be_StopWords (StopWord) VALUES ('how');
  247. INSERT INTO be_StopWords (StopWord) VALUES ('i');
  248. INSERT INTO be_StopWords (StopWord) VALUES ('if');
  249. INSERT INTO be_StopWords (StopWord) VALUES ('in');
  250. INSERT INTO be_StopWords (StopWord) VALUES ('into');
  251. INSERT INTO be_StopWords (StopWord) VALUES ('is');
  252. INSERT INTO be_StopWords (StopWord) VALUES ('it');
  253. INSERT INTO be_StopWords (StopWord) VALUES ('its');
  254. INSERT INTO be_StopWords (StopWord) VALUES ('just');
  255. INSERT INTO be_StopWords (StopWord) VALUES ('la');
  256. INSERT INTO be_StopWords (StopWord) VALUES ('like');
  257. INSERT INTO be_StopWords (StopWord) VALUES ('long');
  258. INSERT INTO be_StopWords (StopWord) VALUES ('make');
  259. INSERT INTO be_StopWords (StopWord) VALUES ('me');
  260. INSERT INTO be_StopWords (StopWord) VALUES ('more');
  261. INSERT INTO be_StopWords (StopWord) VALUES ('much');
  262. INSERT INTO be_StopWords (StopWord) VALUES ('my');
  263. INSERT INTO be_StopWords (StopWord) VALUES ('need');
  264. INSERT INTO be_StopWords (StopWord) VALUES ('new');
  265. INSERT INTO be_StopWords (StopWord) VALUES ('now');
  266. INSERT INTO be_StopWords (StopWord) VALUES ('of');
  267. INSERT INTO be_StopWords (StopWord) VALUES ('off');
  268. INSERT INTO be_StopWords (StopWord) VALUES ('on');
  269. INSERT INTO be_StopWords (StopWord) VALUES ('once');
  270. INSERT INTO be_StopWords (StopWord) VALUES ('one');
  271. INSERT INTO be_StopWords (StopWord) VALUES ('ones');
  272. INSERT INTO be_StopWords (StopWord) VALUES ('only');
  273. INSERT INTO be_StopWords (StopWord) VALUES ('or');
  274. INSERT INTO be_StopWords (StopWord) VALUES ('our');
  275. INSERT INTO be_StopWords (StopWord) VALUES ('out');
  276. INSERT INTO be_StopWords (StopWord) VALUES ('over');
  277. INSERT INTO be_StopWords (StopWord) VALUES ('own');
  278. INSERT INTO be_StopWords (StopWord) VALUES ('really');
  279. INSERT INTO be_StopWords (StopWord) VALUES ('right');
  280. INSERT INTO be_StopWords (StopWord) VALUES ('same');
  281. INSERT INTO be_StopWords (StopWord) VALUES ('see');
  282. INSERT INTO be_StopWords (StopWord) VALUES ('she');
  283. INSERT INTO be_StopWords (StopWord) VALUES ('so');
  284. INSERT INTO be_StopWords (StopWord) VALUES ('some');
  285. INSERT INTO be_StopWords (StopWord) VALUES ('such');
  286. INSERT INTO be_StopWords (StopWord) VALUES ('take');
  287. INSERT INTO be_StopWords (StopWord) VALUES ('takes');
  288. INSERT INTO be_StopWords (StopWord) VALUES ('that');
  289. INSERT INTO be_StopWords (StopWord) VALUES ('the');
  290. INSERT INTO be_StopWords (StopWord) VALUES ('their');
  291. INSERT INTO be_StopWords (StopWord) VALUES ('these');
  292. INSERT INTO be_StopWords (StopWord) VALUES ('thing');
  293. INSERT INTO be_StopWords (StopWord) VALUES ('this');
  294. INSERT INTO be_StopWords (StopWord) VALUES ('to');
  295. INSERT INTO be_StopWords (StopWord) VALUES ('too');
  296. INSERT INTO be_StopWords (StopWord) VALUES ('took');
  297. INSERT INTO be_StopWords (StopWord) VALUES ('und');
  298. INSERT INTO be_StopWords (StopWord) VALUES ('up');
  299. INSERT INTO be_StopWords (StopWord) VALUES ('use');
  300. INSERT INTO be_StopWords (StopWord) VALUES ('used');
  301. INSERT INTO be_StopWords (StopWord) VALUES ('using');
  302. INSERT INTO be_StopWords (StopWord) VALUES ('very');
  303. INSERT INTO be_StopWords (StopWord) VALUES ('was');
  304. INSERT INTO be_StopWords (StopWord) VALUES ('we');
  305. INSERT INTO be_StopWords (StopWord) VALUES ('well');
  306. INSERT INTO be_StopWords (StopWord) VALUES ('what');
  307. INSERT INTO be_StopWords (StopWord) VALUES ('when');
  308. INSERT INTO be_StopWords (StopWord) VALUES ('where');
  309. INSERT INTO be_StopWords (StopWord) VALUES ('who');
  310. INSERT INTO be_StopWords (StopWord) VALUES ('will');
  311. INSERT INTO be_StopWords (StopWord) VALUES ('with');
  312. INSERT INTO be_StopWords (StopWord) VALUES ('www');
  313. INSERT INTO be_StopWords (StopWord) VALUES ('you');
  314. INSERT INTO be_StopWords (StopWord) VALUES ('your');
  315. INSERT INTO be_BlogRollItems ( BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
  316. VALUES ( '25e4d8da-3278-4e58-b0bf-932496dabc96', 'Mads Kristensen', 'Full featured simplicity in ASP.NET and C#', 'http://madskristensen.net', 'http://feeds.feedburner.com/netslave', 'contact', 0 );
  317. INSERT INTO be_BlogRollItems ( BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
  318. VALUES ( 'ccc817ef-e760-482b-b82f-a6854663110f', 'Al Nyveldt', 'Adventures in Code and Other Stories', 'http://www.nyveldt.com/blog/', 'http://feeds.feedburner.com/razorant', 'contact', 1 );
  319. INSERT INTO be_BlogRollItems ( BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
  320. VALUES ( 'dcdaa78b-0b77-4691-99f0-1bb6418945a1', 'Ruslan Tur', '.NET and Open Source: better together', 'http://rtur.net/blog/', 'http://feeds.feedburner.com/rtur', 'contact', 2 );
  321. INSERT INTO be_BlogRollItems ( BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
  322. VALUES ( '8a846489-b69e-4fde-b2b2-53bc6104a6fa', 'John Dyer', 'Technology and web development in ASP.NET, Flash, and JavaScript', 'http://johndyer.name/', 'http://johndyer.name/syndication.axd', 'contact', 3 );
  323. INSERT INTO be_BlogRollItems ( BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
  324. VALUES ( '7f906880-4316-47f1-a934-1a912fc02f8b', 'Russell van der Walt', 'an adventure in web technologies', 'http://blog.ruski.co.za/', 'http://feeds.feedburner.com/rusvdw', 'contact', 4 );
  325. INSERT INTO be_BlogRollItems ( BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
  326. VALUES ( '890f00e5-3a86-4cba-b85b-104063964a87', 'Ben Amada', 'adventures in application development', 'http://allben.net/', 'http://feeds.feedburner.com/allben', 'contact', 5 );
  327. INSERT INTO be_Categories (CategoryID, CategoryName)
  328. VALUES ('ffc26b8b-7d45-46e3-b702-7198e8847e06', 'General');
  329. INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, DateModified, Author, IsPublished)
  330. VALUES ('daf4bc0e-f4b7-4895-94b2-3b1413379d4b',
  331. 'Welcome to BlogEngine.NET 1.6 using MySQL',
  332. 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory',
  333. '<p>If you see this post it means that BlogEngine.NET 1.6 is running with MySQL and the DbBlogProvider is configured correctly.</p>
  334. <h2>Setup</h2>
  335. <p>You are configured to have your user names and passwords stored in MySQL by default. It is time to setup some users. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. You should also see a link to a Change Password page. You should use this to change the default password right away.</p>
  336. <h2>Write permissions</h2>
  337. <p>Since you are using MySQL to store your posts, most information is stored there. However, if you want to store attachments or images in the blog, you will want write permissions setup on the App_Data folder.</p>
  338. <h2>On the web </h2>
  339. <p>You can find BlogEngine.NET on the <a href="http://www.dotnetblogengine.net">official website</a>. Here you will find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at <a href="http://blogengine.codeplex.com/">CodePlex</a> where the daily builds will be published for anyone to download.</p>
  340. <p>Good luck and happy writing.</p>
  341. <p>The BlogEngine.NET team</p>',
  342. CURDATE(),
  343. CURDATE(),
  344. 'admin',
  345. 1);
  346. INSERT INTO be_PostCategory (PostID, CategoryID)
  347. VALUES ('daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'ffc26b8b-7d45-46e3-b702-7198e8847e06');
  348. INSERT INTO be_PostTag (PostID, Tag)
  349. VALUES ('daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'blog');
  350. INSERT INTO be_PostTag (PostID, Tag)
  351. VALUES ('daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'welcome');
  352. INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress)
  353. VALUES ('Admin', '', CURDATE(), 'email@example.com');
  354. INSERT INTO be_Roles (Role)
  355. VALUES ('Administrators');
  356. INSERT INTO be_Roles (Role)
  357. VALUES ('Editors');
  358. INSERT INTO be_UserRoles (UserID, RoleID)
  359. VALUES
  360. ( (SELECT UserID FROM be_Users WHERE UserName = 'Admin'),
  361. (SELECT RoleID FROM be_Roles WHERE Role = 'Administrators'));
  362. INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings)
  363. VALUES (1, 'be_WIDGET_ZONE', '<?xml version="1.0" encoding="utf-16"?><WidgetData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Settings>&lt;widgets&gt;&lt;widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True"&gt;TextBox&lt;/widget&gt;&lt;widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True"&gt;Administration&lt;/widget&gt;&lt;widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True"&gt;Search&lt;/widget&gt;&lt;widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True"&gt;Tag cloud&lt;/widget&gt;&lt;widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True"&gt;RecentPosts&lt;/widget&gt;&lt;/widgets&gt;</Settings></WidgetData>');