mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-10 06:44:13 +00:00
Fix default UUID (#33)
This commit is contained in:
parent
2bb3556c1c
commit
f1921ab2c1
1 changed files with 5 additions and 5 deletions
10
database.js
10
database.js
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue