summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-18 09:43:26 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-18 09:43:26 +0000
commit40a5d2d9f16d896b4fb340245e20f952b760fa77 (patch)
treedd43a380fc4efd5d83d21458885ae6097f82c0dd /admin
parent6ac764fd0982930c1bc04a259c850fd380770250 (diff)
downloadpigeonholes-40a5d2d9f16d896b4fb340245e20f952b760fa77.tar.gz
pigeonholes-40a5d2d9f16d896b4fb340245e20f952b760fa77.tar.bz2
pigeonholes-40a5d2d9f16d896b4fb340245e20f952b760fa77.zip
make constraint point to pigeonholes instead of liberty_content
Diffstat (limited to 'admin')
-rw-r--r--admin/schema_inc.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index b9214ec..fc4789a 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -12,7 +12,7 @@ $tables = array(
parent_id I4 NOTNULL PRIMARY,
content_id I4 NOTNULL PRIMARY
CONSTRAINT ',
- CONSTRAINT `pigeonhole_members_parent_ref` FOREIGN KEY (`parent_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content`( `content_id` ),
+ CONSTRAINT `pigeonhole_members_parent_ref` FOREIGN KEY (`parent_id`) REFERENCES `".BIT_DB_PREFIX."pigeonholes`( `content_id` ),
CONSTRAINT `pigeonhole_members_content_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content`( `content_id` )'
"
);
@@ -31,12 +31,6 @@ $gBitInstaller->registerPackageInfo( PIGEONHOLES_PKG_NAME, array(
'dependencies' => '',
) );
-//// ### Indexes
-//$indices = array (
-// 'pigeonholes_content_idx' => array( 'table' => 'pigeonholes', 'cols' => 'content_id', 'opts' => 'UNIQUE' ),
-//);
-//$gBitInstaller->registerSchemaIndexes( PIGEONHOLES_PKG_NAME, $indices );
-
// ### Sequences
$sequences = array (
'pigeonholes_id_seq' => array( 'start' => 1 )