Skip to content

Commit

Permalink
[Close #1] Add new 'title' column
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdotht committed Mar 26, 2019
1 parent 50354d8 commit bf1f790
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions create_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -780,13 +780,15 @@ DROP TABLE IF EXISTS `settings`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `settings` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`title` varchar(150) NOT NULL,
`name` varchar(150) NOT NULL,
`value` longtext NOT NULL,
`description` varchar(150) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `name_UNIQUE` (`name`)
UNIQUE KEY `name_UNIQUE` (`name`),
UNIQUE KEY `title_UNIQUE` (`title`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

Expand Down Expand Up @@ -958,4 +960,4 @@ CREATE TABLE `vehicle` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2019-03-22 17:08:25
-- Dump completed on 2019-03-26 12:56:09

0 comments on commit bf1f790

Please sign in to comment.