mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/10189] Add "automatically generated" comment into schema-files
PHPBB3-10189
This commit is contained in:
parent
d16b160d5c
commit
8cf22f5529
8 changed files with 70 additions and 0 deletions
|
@ -246,6 +246,32 @@ foreach ($supported_dbms as $dbms)
|
||||||
|
|
||||||
$line = '';
|
$line = '';
|
||||||
|
|
||||||
|
switch ($dbms)
|
||||||
|
{
|
||||||
|
case 'mysql_40':
|
||||||
|
case 'mysql_41':
|
||||||
|
case 'firebird':
|
||||||
|
case 'sqlite':
|
||||||
|
fwrite($fp, "# DO NOT EDIT THIS FILE, IT IS GENERATED\n");
|
||||||
|
fwrite($fp, "#\n");
|
||||||
|
fwrite($fp, "# To change the contents of this file, edit\n");
|
||||||
|
fwrite($fp, "# phpBB/develop/create_schema_files.php and\n");
|
||||||
|
fwrite($fp, "# run it.\n");
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'mssql':
|
||||||
|
case 'oracle':
|
||||||
|
case 'postgres':
|
||||||
|
fwrite($fp, "/*\n");
|
||||||
|
fwrite($fp, " * DO NOT EDIT THIS FILE, IT IS GENERATED\n");
|
||||||
|
fwrite($fp, " *\n");
|
||||||
|
fwrite($fp, " * To change the contents of this file, edit\n");
|
||||||
|
fwrite($fp, " * phpBB/develop/create_schema_files.php and\n");
|
||||||
|
fwrite($fp, " * run it.\n");
|
||||||
|
fwrite($fp, " */\n\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// Write Header
|
// Write Header
|
||||||
switch ($dbms)
|
switch ($dbms)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# DO NOT EDIT THIS FILE, IT IS GENERATED
|
||||||
|
#
|
||||||
|
# To change the contents of this file, edit
|
||||||
|
# phpBB/develop/create_schema_files.php and
|
||||||
|
# run it.
|
||||||
#
|
#
|
||||||
# $Id: $
|
# $Id: $
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
* DO NOT EDIT THIS FILE, IT IS GENERATED
|
||||||
|
*
|
||||||
|
* To change the contents of this file, edit
|
||||||
|
* phpBB/develop/create_schema_files.php and
|
||||||
|
* run it.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
$Id: $
|
$Id: $
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# DO NOT EDIT THIS FILE, IT IS GENERATED
|
||||||
|
#
|
||||||
|
# To change the contents of this file, edit
|
||||||
|
# phpBB/develop/create_schema_files.php and
|
||||||
|
# run it.
|
||||||
#
|
#
|
||||||
# $Id: $
|
# $Id: $
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# DO NOT EDIT THIS FILE, IT IS GENERATED
|
||||||
|
#
|
||||||
|
# To change the contents of this file, edit
|
||||||
|
# phpBB/develop/create_schema_files.php and
|
||||||
|
# run it.
|
||||||
#
|
#
|
||||||
# $Id: $
|
# $Id: $
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
* DO NOT EDIT THIS FILE, IT IS GENERATED
|
||||||
|
*
|
||||||
|
* To change the contents of this file, edit
|
||||||
|
* phpBB/develop/create_schema_files.php and
|
||||||
|
* run it.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
$Id: $
|
$Id: $
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
* DO NOT EDIT THIS FILE, IT IS GENERATED
|
||||||
|
*
|
||||||
|
* To change the contents of this file, edit
|
||||||
|
* phpBB/develop/create_schema_files.php and
|
||||||
|
* run it.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
$Id: $
|
$Id: $
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# DO NOT EDIT THIS FILE, IT IS GENERATED
|
||||||
|
#
|
||||||
|
# To change the contents of this file, edit
|
||||||
|
# phpBB/develop/create_schema_files.php and
|
||||||
|
# run it.
|
||||||
#
|
#
|
||||||
# $Id: $
|
# $Id: $
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue