diff --git a/schema/index.txt b/schema/index.txt deleted file mode 100644 index e3fedbd..0000000 --- a/schema/index.txt +++ /dev/null @@ -1,11 +0,0 @@ -// -*- js -*- - -// connect to db -use content - -// create single index on column sha1 -// unique: key must be unique -// sparse: only return result for which the index exists -// background: build asynchronously -db.content.createIndex({ 'sha1': 1 }, - { 'unique': true, 'sparse': true, 'background': true})