diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-01-08 19:39:51 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-01-08 22:00:03 +0000 |
commit | 6dfe350cb5eefde3a99374d14c083d1906717ddd (patch) | |
tree | f064f18885b4c314845756fec2021980c2fb6dd9 /db/seed.js | |
parent | 9aeb1445549ec9a5b890f6df9bcf2952ef94ee03 (diff) |
Remove dbinit and use sql/js seed files
Diffstat (limited to 'db/seed.js')
-rw-r--r-- | db/seed.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/seed.js b/db/seed.js new file mode 100644 index 0000000..c9d62fa --- /dev/null +++ b/db/seed.js @@ -0,0 +1,3 @@ +conn = new Mongo(); +db = conn.getDB("certs"); +db.issued_certs.createIndex({"keyid": 1}, {unique: true}); |