From 593faadec798fe30accf8907a76b2cb48ccb7662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1zhan?= Date: Sat, 2 Oct 2021 10:34:07 +0300 Subject: [PATCH] Changed database structure --- src/install/sql/content.sql | 8 ++++---- src/install/sql/structure.sql | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/install/sql/content.sql b/src/install/sql/content.sql index db1a0d856..3ab0893dd 100644 --- a/src/install/sql/content.sql +++ b/src/install/sql/content.sql @@ -245,11 +245,11 @@ UNLOCK TABLES; LOCK TABLES `post` WRITE; /*!40000 ALTER TABLE `post` DISABLE KEYS */; -INSERT INTO `post` (`id`, `admin_id`, `title`, `content`, `slug`, `status`, `image`, `section`, `publish_at`, `published_at`, `expires_at`, `created_at`, `updated_at`) +INSERT INTO `post` (`id`, `admin_id`, `title`, `description`, `content`, `slug`, `status`, `image`, `section`, `publish_at`, `published_at`, `expires_at`, `created_at`, `updated_at`) VALUES - (1,1,'BoxBilling is the most affordable Billing Application Ever!','Just in case you weren''t already aware, BoxBilling is the most affordable client management application ever!\n\nTo learn more about it You can always visit [www.boxbilling.com](http://www.boxbilling.com/)\n','boxbilling-is-affordable-billing-system','active',NULL,NULL,NULL,NULL,NULL,'2020-01-01 12:00:00','2020-01-01 12:00:00'), - (2,1,'Check out great features of BoxBilling','* Supports automated billing, invoicing, product provisioning\n* Automatically create accounts as soon as the payment is received, suspend when account becomes overdue, terminate when a specified amount of time passes.\n* Boxbilling is perfectly created to sell shared and reseller hosting accounts, software licenses and downloadable products.\n* Integrated helpdesk, knowledgebase, news and announcements system.\n','great-features-of-boxbilling','active',NULL,NULL,NULL,NULL,NULL,'2020-01-01 12:00:00','2020-01-01 12:00:00'), - (3,1,'BoxBilling is customizable','* You can create your own simple or advanced hooks on BoxBilling events. For example, send notification via sms when new client signs up.\n* Create custom theme for your client interface\n','boxbilling-is-customizable','active',NULL,NULL,NULL,NULL,NULL,'2020-01-01 12:00:00','2020-01-01 12:00:00'); + (1,1,'BoxBilling is the most affordable Billing Application Ever!','Just in case you weren''t already aware, BoxBilling is the most affordable client management application ever!','Just in case you weren''t already aware, BoxBilling is the most affordable client management application ever!\n\nTo learn more about it You can always visit [www.boxbilling.com](http://www.boxbilling.com/)\n','boxbilling-is-affordable-billing-system','active',NULL,NULL,NULL,NULL,NULL,'2020-01-01 12:00:00','2020-01-01 12:00:00'), + (2,1,'Check out great features of BoxBilling','BoxBilling supports automated billing, invoicing, product provisioning', '* Supports automated billing, invoicing, product provisioning\n* Automatically create accounts as soon as the payment is received, suspend when account becomes overdue, terminate when a specified amount of time passes.\n* Boxbilling is perfectly created to sell shared and reseller hosting accounts, software licenses and downloadable products.\n* Integrated helpdesk, knowledgebase, news and announcements system.\n','great-features-of-boxbilling','active',NULL,NULL,NULL,NULL,NULL,'2020-01-01 12:00:00','2020-01-01 12:00:00'), + (3,1,'BoxBilling is customizable','You can create your own simple or advanced hooks on BoxBilling events.','* You can create your own simple or advanced hooks on BoxBilling events. For example, send notification via sms when new client signs up.\n* Create custom theme for your client interface\n','boxbilling-is-customizable','active',NULL,NULL,NULL,NULL,NULL,'2020-01-01 12:00:00','2020-01-01 12:00:00'); /*!40000 ALTER TABLE `post` ENABLE KEYS */; UNLOCK TABLES; diff --git a/src/install/sql/structure.sql b/src/install/sql/structure.sql index 95b102249..9a7211e79 100644 --- a/src/install/sql/structure.sql +++ b/src/install/sql/structure.sql @@ -775,6 +775,7 @@ CREATE TABLE `post` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `admin_id` bigint(20) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, + `description` text DEFAULT NULL, `content` text, `slug` varchar(255) DEFAULT NULL, `status` varchar(30) DEFAULT 'draft' COMMENT 'active, draft',