aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/setup
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-12-04 12:34:21 +0100
committerKevin Chabowski <kevin@kch42.de>2011-12-04 12:34:21 +0100
commitf5769e7db7d1870b3fb9e3a93b27fb82c1bddf21 (patch)
treef5a4d9302905b24afe1ef7ea40f8421d55b8317d /ratatoeskr/setup
parent48bed2761f7cc23c30ed2c11ba7f025810594456 (diff)
downloadratatoeskr-cms-f5769e7db7d1870b3fb9e3a93b27fb82c1bddf21.tar.gz
ratatoeskr-cms-f5769e7db7d1870b3fb9e3a93b27fb82c1bddf21.tar.bz2
ratatoeskr-cms-f5769e7db7d1870b3fb9e3a93b27fb82c1bddf21.zip
Added Repository data models and the PluginPackage class.
Not tested yet..
Diffstat (limited to 'ratatoeskr/setup')
-rw-r--r--ratatoeskr/setup/create_tables.php9
1 files changed, 9 insertions, 0 deletions
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;
?>