mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-08 15:21:52 +08:00
feat: 测试数据库docker-compose, postgres DDL初稿
This commit is contained in:
5
sql/_docker/oracle/1_create_user.sql
Normal file
5
sql/_docker/oracle/1_create_user.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER SESSION SET CONTAINER=XEPDB1;
|
||||
|
||||
CREATE USER ROOT IDENTIFIED BY 123456 QUOTA UNLIMITED ON USERS;
|
||||
|
||||
GRANT CONNECT, RESOURCE TO ROOT;
|
1
sql/_docker/oracle/2_create_schema.sh
Executable file
1
sql/_docker/oracle/2_create_schema.sh
Executable file
@@ -0,0 +1 @@
|
||||
sqlplus -s ROOT/123456@//localhost/XEPDB1 @/tmp/schema.sql
|
5
sql/_docker/sqlserver/create_schema.sh
Executable file
5
sql/_docker/sqlserver/create_schema.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Yudao@24' -Q "CREATE DATABASE [ruoyi-vue-pro];
|
||||
GO"
|
||||
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Yudao@24' -d 'ruoyi-vue-pro' -i /tmp/schema.sql
|
Reference in New Issue
Block a user