Skip to content

Commit

Permalink
chore: better uuid name
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Kolstad committed Feb 19, 2021
1 parent ba57822 commit 7ee36d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/migrations/20210218090213-generate-server-identifier.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';

const { v4 } = require('uuid');
const { v4: uuidv4 } = require('uuid');

exports.up = function(db, cb) {
const instanceId = v4();
const instanceId = uuidv4();
db.runSql(
`
INSERT INTO settings(name, content) VALUES ('instanceInfo', json_build_object('id', '${instanceId}'));
Expand Down

0 comments on commit 7ee36d2

Please sign in to comment.