1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 18:19:25 +00:00

Use database NULL values instead of empty strings

This commit is contained in:
2022-02-14 21:58:19 +00:00
parent 6cd2d9db4a
commit a0fb0cc5bb

View File

@@ -41,14 +41,14 @@ const data = {
{ {
email: 'p2@stratos.com', email: 'p2@stratos.com',
firstName: 'Jeffery', firstName: 'Jeffery',
otherNames: '', otherNames: null,
lastName: 'Jonas', lastName: 'Jonas',
password: 'p2' password: 'p2'
}, },
{ {
email: 'p3@stratos.com', email: 'p3@stratos.com',
firstName: 'Mohammad', firstName: 'Mohammad',
otherNames: '', otherNames: null,
lastName: 'Gamble', lastName: 'Gamble',
password: 'p3' password: 'p3'
}, },
@@ -62,7 +62,7 @@ const data = {
{ {
email: 'p5@stratos.com', email: 'p5@stratos.com',
firstName: 'Darius', firstName: 'Darius',
otherNames: '', otherNames: null,
lastName: 'Tanz', lastName: 'Tanz',
password: 'p5' password: 'p5'
}, },
@@ -78,7 +78,7 @@ const data = {
{ {
email: 's2@stratos.com', email: 's2@stratos.com',
firstName: 'Ola', firstName: 'Ola',
otherNames: '', otherNames: null,
lastName: 'Larson', lastName: 'Larson',
password: 's2' password: 's2'
}, },
@@ -92,7 +92,7 @@ const data = {
{ {
email: 's4@stratos.com', email: 's4@stratos.com',
firstName: 'Huo', firstName: 'Huo',
otherNames: '', otherNames: null,
lastName: 'Ding', lastName: 'Ding',
password: 's4' password: 's4'
}, },
@@ -148,7 +148,7 @@ const data = {
{ {
email: 'a1@stratos.com', email: 'a1@stratos.com',
firstName: 'Aurick', firstName: 'Aurick',
otherNames: '', otherNames: null,
lastName: 'Rubner', lastName: 'Rubner',
password: 'a1' password: 'a1'
}, },
@@ -162,7 +162,7 @@ const data = {
{ {
email: 'a3@stratos.com', email: 'a3@stratos.com',
firstName: 'Devajee', firstName: 'Devajee',
otherNames: '', otherNames: null,
lastName: 'Vaughn', lastName: 'Vaughn',
password: 'a3' password: 'a3'
}, },