Fix default UUID (#33)

This commit is contained in:
Dustin Decker 2023-01-30 10:49:17 -08:00 committed by GitHub
parent 2bb3556c1c
commit f1921ab2c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ Users.init({
allowNull: false,
primaryKey: true,
type: Sequelize.UUID,
defaultValue: uuid.v4()
defaultValue: Sequelize.UUIDV4
},
email: {
type: Sequelize.TEXT,
@ -86,7 +86,7 @@ Secrets.init({
allowNull: false,
primaryKey: true,
type: Sequelize.UUID,
defaultValue: uuid.v4()
defaultValue: Sequelize.UUIDV4
},
payload_id: {
type: Sequelize.TEXT,
@ -129,7 +129,7 @@ PayloadFireResults.init({
allowNull: false,
primaryKey: true,
type: Sequelize.UUID,
defaultValue: uuid.v4()
defaultValue: Sequelize.UUIDV4
},
// URL the XSS payload fired on.
url: {
@ -295,7 +295,7 @@ CollectedPages.init({
allowNull: false,
primaryKey: true,
type: Sequelize.UUID,
defaultValue: uuid.v4()
defaultValue: Sequelize.UUIDV4
},
// URL of the collected page
uri: {
@ -326,7 +326,7 @@ InjectionRequests.init({
allowNull: false,
primaryKey: true,
type: Sequelize.UUID,
defaultValue: uuid.v4()
defaultValue: Sequelize.UUIDV4
},
/*
The full text of the request for a given