Skip to content

Commit

Permalink
Fix issue with missing table definition.
Browse files Browse the repository at this point in the history
The table definition change was incorrectly ommitted from pull request ubccr#27.
This change fixes the missing definitions.
  • Loading branch information
jpwhite4 committed Apr 19, 2017
1 parent 6fac9dd commit 9f72386
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions etl/js/config/supremm/output_db/modw_supremm.sql
Original file line number Diff line number Diff line change
Expand Up @@ -244,24 +244,25 @@ CREATE TABLE `application` (
`id` int(11) NOT NULL,
`name` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
`license_type` enum('unknown','proprietary','permissive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'unknown',
`application_fosid` int(11) NOT NULL DEFAULT '-1',
`url` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name_UNIQUE` (`name`),
UNIQUE KEY `appname` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `application_hint`
-- Table structure for table `application_fos`
--

DROP TABLE IF EXISTS `application_hint`;
DROP TABLE IF EXISTS `application_fos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `application_hint` (
`id` int(11) NOT NULL,
`hint` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
`realid` int(11) NOT NULL,
PRIMARY KEY (`id`,`hint`)
CREATE TABLE `application_fos` (
`id` int(11) NOT NULL,
`description` varchar(256) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

Expand Down

0 comments on commit 9f72386

Please sign in to comment.