[ticket/10189] Get rid of $id$ from schema files

PHPBB3-10189
This commit is contained in:
Igor Wiedler 2011-10-14 04:29:28 +02:00
parent 8cf22f5529
commit c3f3435228
8 changed files with 1 additions and 50 deletions

View file

@ -246,6 +246,7 @@ foreach ($supported_dbms as $dbms)
$line = ''; $line = '';
// Write Header
switch ($dbms) switch ($dbms)
{ {
case 'mysql_40': case 'mysql_40':
@ -272,37 +273,21 @@ foreach ($supported_dbms as $dbms)
break; break;
} }
// Write Header
switch ($dbms) switch ($dbms)
{ {
case 'mysql_40':
case 'mysql_41':
$line = "#\n# \$I" . "d: $\n#\n\n";
break;
case 'firebird': case 'firebird':
$line = "#\n# \$I" . "d: $\n#\n\n";
$line .= custom_data('firebird') . "\n"; $line .= custom_data('firebird') . "\n";
break; break;
case 'sqlite': case 'sqlite':
$line = "#\n# \$I" . "d: $\n#\n\n";
$line .= "BEGIN TRANSACTION;\n\n"; $line .= "BEGIN TRANSACTION;\n\n";
break; break;
case 'mssql':
$line = "/*\n\n \$I" . "d: $\n\n*/\n\n";
// no need to do this, no transaction support for schema changes
//$line .= "BEGIN TRANSACTION\nGO\n\n";
break;
case 'oracle': case 'oracle':
$line = "/*\n\n \$I" . "d: $\n\n*/\n\n";
$line .= custom_data('oracle') . "\n"; $line .= custom_data('oracle') . "\n";
break; break;
case 'postgres': case 'postgres':
$line = "/*\n\n \$I" . "d: $\n\n*/\n\n";
$line .= "BEGIN;\n\n"; $line .= "BEGIN;\n\n";
$line .= custom_data('postgres') . "\n"; $line .= custom_data('postgres') . "\n";
break; break;

View file

@ -3,10 +3,6 @@
# To change the contents of this file, edit # To change the contents of this file, edit
# phpBB/develop/create_schema_files.php and # phpBB/develop/create_schema_files.php and
# run it. # run it.
#
# $Id: $
#
# Table: 'phpbb_attachments' # Table: 'phpbb_attachments'
CREATE TABLE phpbb_attachments ( CREATE TABLE phpbb_attachments (

View file

@ -6,12 +6,6 @@
* run it. * run it.
*/ */
/*
$Id: $
*/
/* /*
Table: 'phpbb_attachments' Table: 'phpbb_attachments'
*/ */

View file

@ -3,10 +3,6 @@
# To change the contents of this file, edit # To change the contents of this file, edit
# phpBB/develop/create_schema_files.php and # phpBB/develop/create_schema_files.php and
# run it. # run it.
#
# $Id: $
#
# Table: 'phpbb_attachments' # Table: 'phpbb_attachments'
CREATE TABLE phpbb_attachments ( CREATE TABLE phpbb_attachments (
attach_id mediumint(8) UNSIGNED NOT NULL auto_increment, attach_id mediumint(8) UNSIGNED NOT NULL auto_increment,

View file

@ -3,10 +3,6 @@
# To change the contents of this file, edit # To change the contents of this file, edit
# phpBB/develop/create_schema_files.php and # phpBB/develop/create_schema_files.php and
# run it. # run it.
#
# $Id: $
#
# Table: 'phpbb_attachments' # Table: 'phpbb_attachments'
CREATE TABLE phpbb_attachments ( CREATE TABLE phpbb_attachments (
attach_id mediumint(8) UNSIGNED NOT NULL auto_increment, attach_id mediumint(8) UNSIGNED NOT NULL auto_increment,

View file

@ -6,12 +6,6 @@
* run it. * run it.
*/ */
/*
$Id: $
*/
/* /*
This first section is optional, however its probably the best method This first section is optional, however its probably the best method
of running phpBB on Oracle. If you already have a tablespace and user created of running phpBB on Oracle. If you already have a tablespace and user created

View file

@ -6,12 +6,6 @@
* run it. * run it.
*/ */
/*
$Id: $
*/
BEGIN; BEGIN;
/* /*

View file

@ -3,10 +3,6 @@
# To change the contents of this file, edit # To change the contents of this file, edit
# phpBB/develop/create_schema_files.php and # phpBB/develop/create_schema_files.php and
# run it. # run it.
#
# $Id: $
#
BEGIN TRANSACTION; BEGIN TRANSACTION;
# Table: 'phpbb_attachments' # Table: 'phpbb_attachments'