Skip to content

Commit

Permalink
Adding PK to the employee ID column and changing hosting location.
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-lm committed Jun 21, 2024
1 parent 9c81262 commit ac3fbf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ write_files:
[Install]
WantedBy=multi-user.target
runcmd:
- wget https://hrwebapp.blob.core.windows.net/contosohr/ContosoHR.zip
- wget https://customerprototypes.blob.core.windows.net/contosohr/ContosoHR.zip
- mkdir --parents /home/contosohr/ContosoHR
- bsdtar --extract --file ContosoHR.zip --directory /home/contosohr/ContosoHR --strip-components=1
- chown --recursive contosohr:contosohr /home/contosohr/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--- SUMMARY: Create employee table ---
CREATE TABLE [HR].[Employees]
(
[EmployeeID] [int] IDENTITY(1,1) NOT NULL,
[EmployeeID] [int] IDENTITY(1,1) PRIMARY KEY NOT NULL,
[SSN] [char](11) NOT NULL,
[FirstName] [nvarchar](50) NOT NULL,
[LastName] [nvarchar](50) NOT NULL,
Expand Down

0 comments on commit ac3fbf5

Please sign in to comment.