 
 CREATE UNIQUE INDEX I_PATH ON BASE_NODE (wc_id, local_relpath);
 CREATE INDEX I_PARENT ON BASE_NODE (parent_id);
-CREATE INDEX I_LOCKS ON BASE_NODE (lock_token);
-
+
+
+/* ------------------------------------------------------------------------- */
 
 CREATE TABLE PRISTINE (
   /* ### the hash algorithm (MD5 or SHA-1) is encoded in this value */

  );


CREATE TABLE CHANGELIST (
  id  INTEGER PRIMARY KEY AUTOINCREMENT,

  wc_id  INTEGER NOT NULL,

  name  TEXT NOT NULL
  );

CREATE UNIQUE INDEX I_CHANGELIST ON CHANGELIST (wc_id, name);
CREATE UNIQUE INDEX I_CL_LIST ON CHANGELIST (wc_id);

  /* NULL depth means "default" (typically svn_depth_infinity) */
  depth  INTEGER,

  /* ### Do we need this?  We've currently got various mod time APIs
     ### internal to libsvn_wc, but those might be used in answering some
     ### question which is better answered some other way. */
