Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1405 from angelok1/db_script_fixes
Corrected Oracle create script
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
openid-connect-server-webapp/src/main/resources/db/oracle/create_db-user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
drop user oauth cascade; | ||
drop tablespace data_ts INCLUDING CONTENTS AND DATAFILES; | ||
drop tablespace temp_ts INCLUDING CONTENTS AND DATAFILES; | ||
CREATE TABLESPACE data_ts DATAFILE 'data_ts.dat' SIZE 40M ONLINE; | ||
CREATE TEMPORARY TABLESPACE temp_ts TEMPFILE 'temp_ts.dbf' SIZE 5M AUTOEXTEND ON; | ||
create user oauth identified by test DEFAULT TABLESPACE data_ts QUOTA 500K ON data_ts TEMPORARY TABLESPACE temp_ts; | ||
GRANT CONNECT TO oauth; | ||
GRANT UNLIMITED TABLESPACE TO oauth; | ||
grant create session to oauth; | ||
grant create table to oauth; | ||
GRANT CREATE TABLESPACE TO oauth; | ||
GRANT CREATE VIEW TO oauth; | ||
GRANT CREATE ANY INDEX TO oauth; | ||
GRANT CREATE SEQUENCE TO oauth; | ||
GRANT CREATE SYNONYM TO oauth; |