* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE * Converted to use SQL wrapper functions instead of direct SQL in various places * Experimental method for preserving the chronological order of events when slave servers are used. Untested. * Fixes to the new post-parse existence test feature * Some.. other stuff
6 lines
135 B
SQL
6 lines
135 B
SQL
-- Make the image name index unique
|
|
|
|
ALTER TABLE image DROP INDEX img_name;
|
|
|
|
ALTER TABLE image
|
|
ADD UNIQUE INDEX img_name (img_name);
|