From f5769e7db7d1870b3fb9e3a93b27fb82c1bddf21 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 4 Dec 2011 12:34:21 +0100 Subject: Added Repository data models and the PluginPackage class. Not tested yet.. --- ratatoeskr/setup/create_tables.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ratatoeskr/setup/create_tables.php') diff --git a/ratatoeskr/setup/create_tables.php b/ratatoeskr/setup/create_tables.php index 1be8855..8405ade 100644 --- a/ratatoeskr/setup/create_tables.php +++ b/ratatoeskr/setup/create_tables.php @@ -125,6 +125,15 @@ CREATE TABLE `PREFIX_users` ( `language` varchar(10) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +CREATE TABLE `s_db_47`.`PREFIX_repositories` ( +`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , +`baseurl` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , +`name` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , +`description` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , +`pkgcache` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , +`lastrefresh` BIGINT NOT NULL +) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci; SQL; ?> -- cgit v1.2.3-70-g09d2