summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorbitweaver.org <bitweaver@users.sourceforge.net>2006-01-31 20:19:25 +0000
committerbitweaver.org <bitweaver@users.sourceforge.net>2006-01-31 20:19:25 +0000
commited98fbb34ac3aed2fed464b969eadb32489d3de8 (patch)
tree8d3b2a58c79af9a79549c3f20be6066d5096851c /admin
parent19fb224ee82b749f9115552896795e36c6c569a3 (diff)
downloadpigeonholes-ed98fbb34ac3aed2fed464b969eadb32489d3de8.tar.gz
pigeonholes-ed98fbb34ac3aed2fed464b969eadb32489d3de8.tar.bz2
pigeonholes-ed98fbb34ac3aed2fed464b969eadb32489d3de8.zip
massive table de-tikification. changed all tiki_ table prefixes with teh package_ name. have changed everything except liberty except kernel
Diffstat (limited to 'admin')
-rw-r--r--admin/schema_inc.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 36fb364..f60c0fa 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -1,19 +1,19 @@
<?php
$tables = array(
- 'bit_pigeonholes' => "
+ 'pigeonholes' => "
content_id I4 NOTNULL PRIMARY,
structure_id I4 NOTNULL PRIMARY
CONSTRAINTS ',
- CONSTRAINT `bit_pigeonholes_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."tiki_content`( `content_id` ),
- CONSTRAINT `bit_pigeonholes_ref` FOREIGN KEY (`structure_id`) REFERENCES `".BIT_DB_PREFIX."tiki_structures`( `structure_id` )'
+ CONSTRAINT `pigeonholes_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."tiki_content`( `content_id` ),
+ CONSTRAINT `pigeonholes_ref` FOREIGN KEY (`structure_id`) REFERENCES `".BIT_DB_PREFIX."tiki_structures`( `structure_id` )'
",
- 'bit_pigeonhole_members' => "
+ 'pigeonhole_members' => "
parent_id I4 NOTNULL PRIMARY,
content_id I4 NOTNULL PRIMARY
CONSTRAINTS ',
- CONSTRAINT `bit_pigeonhole_members_ref` FOREIGN KEY (`parent_id`) REFERENCES `".BIT_DB_PREFIX."bit_pigeonholes`( `content_id` ),
- CONSTRAINT `bit_pigeonhole_members_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."tiki_content`( `content_id` )'
+ CONSTRAINT `pigeonhole_members_ref` FOREIGN KEY (`parent_id`) REFERENCES `".BIT_DB_PREFIX."pigeonholes`( `content_id` ),
+ CONSTRAINT `pigeonhole_members_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."tiki_content`( `content_id` )'
"
);
@@ -33,13 +33,13 @@ $gBitInstaller->registerPackageInfo( PIGEONHOLES_PKG_NAME, array(
//// ### Indexes
//$indices = array (
-// 'bit_pigeonholes_content_idx' => array( 'table' => 'bit_pigeonholes', 'cols' => 'content_id', 'opts' => 'UNIQUE' ),
+// 'pigeonholes_content_idx' => array( 'table' => 'pigeonholes', 'cols' => 'content_id', 'opts' => 'UNIQUE' ),
//);
//$gBitInstaller->registerSchemaIndexes( PIGEONHOLES_PKG_NAME, $indices );
// ### Sequences
$sequences = array (
- 'bit_pigeonholes_id_seq' => array( 'start' => 1 )
+ 'pigeonholes_id_seq' => array( 'start' => 1 )
);
$gBitInstaller->registerSchemaSequences( PIGEONHOLES_PKG_NAME, $sequences );