summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shared/classes/gentoo_basepkg.php')
-rw-r--r--shared/classes/gentoo_basepkg.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/shared/classes/gentoo_basepkg.php b/shared/classes/gentoo_basepkg.php
index d61b3dc..c140ee9 100644
--- a/shared/classes/gentoo_basepkg.php
+++ b/shared/classes/gentoo_basepkg.php
@@ -1,13 +1,10 @@
<?php
class sql_gentoo_basepkg extends sql_row_obj {
protected $table='gentoo_basepkgs', $columns=array(
- 'profile' => array (
- 'type' => 'TINYINT',
- 'length' => 3,
- 'unsigned' => true,
- 'not_null' => true,
- 'default' => 0,
- 'refers_to' => 'gentoo_profiles.id'
+ 'key' => array (
+ 'type' => 'VARCHAR',
+ 'length' => 255,
+ 'not_null' => true
),
'pkg' => array (
'type' => 'VARCHAR',