r46052 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46051‎ | r46052 | r46053 >
Date:00:55, 23 January 2009
Author:tparscal
Status:ok
Tags:
Comment:
Fixed capitalization issue that prevented prefixes from working properly.
Modified paths:
  • /trunk/extensions/DataCenter/DataCenter.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/DataCenter/DataCenter.sql
@@ -5,7 +5,7 @@
66 --
77 -- Table of locations of physical datacenters
88 DROP TABLE IF EXISTS dc_facility_locations;
9 -CREATE TABLE /*$wgDBPrefix*/dc_facility_locations (
 9+CREATE TABLE /*$wgDBprefix*/dc_facility_locations (
1010 -- Unique ID of dc_locations
1111 fcl_loc_id INTEGER AUTO_INCREMENT,
1212 -- Tense of this rack
@@ -24,7 +24,7 @@
2525 --
2626 -- Table of spaces in locations
2727 DROP TABLE IF EXISTS dc_facility_spaces;
28 -CREATE TABLE /*$wgDBPrefix*/dc_facility_spaces (
 28+CREATE TABLE /*$wgDBprefix*/dc_facility_spaces (
2929 -- Unique ID of dc_spaces
3030 fcl_spc_id INTEGER AUTO_INCREMENT,
3131 -- Tense of this rack
@@ -49,7 +49,7 @@
5050 --
5151 -- Table of racks
5252 DROP TABLE IF EXISTS dc_rack_assets;
53 -CREATE TABLE /*$wgDBPrefix*/dc_rack_assets (
 53+CREATE TABLE /*$wgDBprefix*/dc_rack_assets (
5454 -- Unique ID of dc_racks
5555 ast_rak_id INTEGER AUTO_INCREMENT,
5656 -- Tense of this racj
@@ -68,7 +68,7 @@
6969 --
7070 -- Table of objects
7171 DROP TABLE IF EXISTS dc_object_assets;
72 -CREATE TABLE /*$wgDBPrefix*/dc_object_assets (
 72+CREATE TABLE /*$wgDBprefix*/dc_object_assets (
7373 -- Unique ID of dc_objects
7474 ast_obj_id INTEGER AUTO_INCREMENT,
7575 -- Tense of this rack
@@ -89,7 +89,7 @@
9090 --
9191 -- Table of model of racks
9292 DROP TABLE IF EXISTS dc_rack_models;
93 -CREATE TABLE /*$wgDBPrefix*/dc_rack_models (
 93+CREATE TABLE /*$wgDBprefix*/dc_rack_models (
9494 -- Unique ID of dc_rack_models
9595 mdl_rak_id INTEGER AUTO_INCREMENT,
9696 -- Manufacturer name of this rack model
@@ -106,7 +106,7 @@
107107 --
108108 -- Table of model of objects
109109 DROP TABLE IF EXISTS dc_object_models;
110 -CREATE TABLE /*$wgDBPrefix*/dc_object_models (
 110+CREATE TABLE /*$wgDBprefix*/dc_object_models (
111111 -- Unique ID of dc_object_models
112112 mdl_obj_id INTEGER AUTO_INCREMENT,
113113 -- Manufacturer name of this object model
@@ -134,7 +134,7 @@
135135 --
136136 -- Table of models of ports
137137 DROP TABLE IF EXISTS dc_port_models;
138 -CREATE TABLE /*$wgDBPrefix*/dc_port_models (
 138+CREATE TABLE /*$wgDBprefix*/dc_port_models (
139139 -- Unique ID of dc_port_models
140140 mdl_prt_id INTEGER AUTO_INCREMENT,
141141 -- Name of this port model
@@ -169,7 +169,7 @@
170170 --
171171 -- Table of tags used to categorize repairs
172172 DROP TABLE IF EXISTS dc_meta_tags;
173 -CREATE TABLE /*$wgDBPrefix*/dc_meta_tags (
 173+CREATE TABLE /*$wgDBprefix*/dc_meta_tags (
174174 -- Unique ID of dc_tags
175175 mta_tag_id INTEGER AUTO_INCREMENT,
176176 -- Name of this tag
@@ -180,7 +180,7 @@
181181 --
182182 --
183183 DROP TABLE IF EXISTS dc_meta_plans;
184 -CREATE TABLE /*$wgDBPrefix*/dc_meta_plans (
 184+CREATE TABLE /*$wgDBprefix*/dc_meta_plans (
185185 -- Unique ID of dc_meta_plans
186186 mta_pln_id INTEGER AUTO_INCREMENT,
187187 -- Name of this plan
@@ -197,7 +197,7 @@
198198 --
199199 -- Table of changes made to targets (facilities, assets and models)
200200 DROP TABLE IF EXISTS dc_meta_changes;
201 -CREATE TABLE /*$wgDBPrefix*/dc_meta_changes (
 201+CREATE TABLE /*$wgDBprefix*/dc_meta_changes (
202202 -- Unique ID of dc_meta_changes
203203 mta_cng_id INTEGER AUTO_INCREMENT,
204204 -- ID of user who made change
@@ -233,7 +233,7 @@
234234 --
235235 -- Table of models used by other models
236236 DROP TABLE IF EXISTS dc_model_links;
237 -CREATE TABLE /*$wgDBPrefix*/dc_model_links (
 237+CREATE TABLE /*$wgDBprefix*/dc_model_links (
238238 -- Unique ID of dc_meta_model_links
239239 lnk_mdl_id INTEGER AUTO_INCREMENT,
240240 -- Name of this link
@@ -259,7 +259,7 @@
260260 --
261261 -- Table of assets used by other assets
262262 DROP TABLE IF EXISTS dc_asset_links;
263 -CREATE TABLE /*$wgDBPrefix*/dc_asset_links (
 263+CREATE TABLE /*$wgDBprefix*/dc_asset_links (
264264 -- Unique ID of dc_meta_asset_links
265265 lnk_ast_id INTEGER AUTO_INCREMENT,
266266 -- Name of this asset
@@ -291,7 +291,7 @@
292292 --
293293 -- Table of meta fields to attach to components
294294 DROP TABLE IF EXISTS dc_field_links;
295 -CREATE TABLE /*$wgDBPrefix*/dc_field_links (
 295+CREATE TABLE /*$wgDBprefix*/dc_field_links (
296296 -- Unique ID of dc_meta_field_links
297297 lnk_fld_id INTEGER AUTO_INCREMENT,
298298 -- ID of field to attach
@@ -317,7 +317,7 @@
318318 --
319319 -- Table of meta fields to attach to models
320320 DROP TABLE IF EXISTS dc_meta_fields;
321 -CREATE TABLE /*$wgDBPrefix*/dc_meta_fields (
 321+CREATE TABLE /*$wgDBprefix*/dc_meta_fields (
322322 -- Unique ID of dc_meta_fields
323323 mta_fld_id INTEGER AUTO_INCREMENT,
324324 -- Name of this meta field
@@ -336,7 +336,7 @@
337337 --
338338 -- Table of meta information to attach to assets
339339 DROP TABLE IF EXISTS dc_meta_values;
340 -CREATE TABLE /*$wgDBPrefix*/dc_meta_values (
 340+CREATE TABLE /*$wgDBprefix*/dc_meta_values (
341341 -- Unique ID of dc_meta_values
342342 mta_val_id INTEGER AUTO_INCREMENT,
343343 -- Category of component type
@@ -366,7 +366,7 @@
367367 --
368368 -- Table of connections between ports
369369 DROP TABLE IF EXISTS dc_meta_connections;
370 -CREATE TABLE /*$wgDBPrefix*/dc_meta_connections (
 370+CREATE TABLE /*$wgDBprefix*/dc_meta_connections (
371371 -- Unique ID of dc_connections
372372 mta_con_id INTEGER AUTO_INCREMENT,
373373 -- ID of port being connected from

Status & tagging log