Skip to content

Commit 6a00750

Browse files
angelok1srmoore
authored andcommitted
Corrected create script
1 parent 802e40e commit 6a00750

File tree

1 file changed

+15
-0
lines changed
  • openid-connect-server-webapp/src/main/resources/db/oracle

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
drop user oauth cascade;
2+
drop tablespace data_ts INCLUDING CONTENTS AND DATAFILES;
3+
drop tablespace temp_ts INCLUDING CONTENTS AND DATAFILES;
4+
CREATE TABLESPACE data_ts DATAFILE 'data_ts.dat' SIZE 40M ONLINE;
5+
CREATE TEMPORARY TABLESPACE temp_ts TEMPFILE 'temp_ts.dbf' SIZE 5M AUTOEXTEND ON;
6+
create user oauth identified by test DEFAULT TABLESPACE data_ts QUOTA 500K ON data_ts TEMPORARY TABLESPACE temp_ts;
7+
GRANT CONNECT TO oauth;
8+
GRANT UNLIMITED TABLESPACE TO oauth;
9+
grant create session to oauth;
10+
grant create table to oauth;
11+
GRANT CREATE TABLESPACE TO oauth;
12+
GRANT CREATE VIEW TO oauth;
13+
GRANT CREATE ANY INDEX TO oauth;
14+
GRANT CREATE SEQUENCE TO oauth;
15+
GRANT CREATE SYNONYM TO oauth;

0 commit comments

Comments
 (0)