Fixes to address MaxSem's comment on r106480 regarding DB2 tables.sql syntax, indenta...
authorLeons Petrazickis <leonsp@users.mediawiki.org>
Sat, 17 Dec 2011 15:59:21 +0000 (15:59 +0000)
committerLeons Petrazickis <leonsp@users.mediawiki.org>
Sat, 17 Dec 2011 15:59:21 +0000 (15:59 +0000)
commitd29ef47c766bb958268f7fce37e52cef869f8377
tree37dfd90abd39f1681f55261f59d998b83cc0e6dc
parentdca66e1c4817653cf995f49e35c32a05036b178f
Fixes to address MaxSem's comment on r106480 regarding DB2 tables.sql syntax, indentation, and capitalization:
* Made all table and column names lowercase for consistency
* Removed " from around some "identifiers". Not necessary for DB2.
* Applied consistent indentation to all table declarations
* Applied consistent indentation to all index declarations
* Moved all PRIMARY KEY clauses to their own line for consistency and max line length
* Moved all ON clauses to their own line for consistency and max line length
* Fixed vertical alignment for column names and data types, remove all other vertical alignment
* Removed commented out references to SEQUENCE values, as they are used in neither DB2 nor MySQL schemas.
* Consistent spacing around parens () and commas ,
* Capitalized all data types.
* Note: tables.sql is approaching DB2's 32k limit. It will need to be split into two files soon.
maintenance/ibm_db2/tables.sql