Fix bad SQL
This commit is contained in:
@@ -60,10 +60,10 @@ namespace BoredCareers.Services.DatabaseService {
|
||||
connection.Open();
|
||||
|
||||
string command = @"
|
||||
INSERT INTO Account
|
||||
INSERT INTO Company
|
||||
(ID,Name,Email,EmailVerified,WebsiteURL,LogoURL,Phone,PostalCode,Country,StateOrRegion,City,Description)
|
||||
VALUES
|
||||
(@ID,@Name,@Email,@EmailVerified,@WebsiteURL,@LogoURL,@Phone,@PostalCode,@Country,@StateOrRegion,@City,@Description);
|
||||
(@ID,@Name,@Email,@EmailVerified,@WebsiteURL,@LogoURL,@Phone,@PostalCode,@Country,@StateOrRegion,@City,@Description)
|
||||
ON DUPLICATE KEY UPDATE
|
||||
Name = @Name,
|
||||
Email = @Email,
|
||||
@@ -73,7 +73,7 @@ namespace BoredCareers.Services.DatabaseService {
|
||||
Phone = @Phone,
|
||||
PostalCode = @PostalCode,
|
||||
Country = @Country,
|
||||
StateOrRegion = @StateOrRegion;
|
||||
StateOrRegion = @StateOrRegion,
|
||||
City = @City,
|
||||
Description = @Description;
|
||||
";
|
||||
|
||||
Reference in New Issue
Block a user