Skip to content

Commit

Permalink
*update SQLServer.sql for the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
theEmperorofDaiViet committed Dec 2, 2022
1 parent e825da3 commit 22e8c0b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/main/resources/SQLServer.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,13 @@ IF NOT EXISTS (
WHERE s.name = 'dbo' AND t.name = 'Taco_Order')
create table dbo.Taco_Order (
id int IDENTITY(1,1) NOT NULL,
name varchar(50) not null,
street varchar(50) not null,
city varchar(50) not null,
state varchar(2) not null,
zip varchar(10) not null,
registeredUser bigint not null,
ccNumber varchar(16) not null,
ccExpiration varchar(5) not null,
ccCVV varchar(3) not null,
placedAt datetime not null,
PRIMARY KEY (id)
PRIMARY KEY (id),
FOREIGN KEY (registeredUser) REFERENCES RegisteredUsers(id)
);
go
IF NOT EXISTS (
Expand Down

0 comments on commit 22e8c0b

Please sign in to comment.