Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
Fix: database value was hardcoded test value instead of var (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Dumont <samuel@dumont.info>
  • Loading branch information
sdebruyn and sam-dumont committed May 13, 2020
1 parent 40e9372 commit 40e995a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/sql_init.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ BEGIN
CREATE USER $env:DATABRICKS_LOADER_USER;
END
GRANT CONTROL ON DATABASE::[dwtfadl] to $env:DATABRICKS_LOADER_USER;
GRANT CONTROL ON DATABASE::[$env:DATABASE] to $env:DATABRICKS_LOADER_USER;
EXEC sp_addrolemember 'staticrc20', '$env:DATABRICKS_LOADER_USER';
Expand Down

0 comments on commit 40e995a

Please sign in to comment.