Skip to content

Commit b9fd859

Browse files
nguyenalterhuydo862003
authored andcommitted
misc: update oracle connection
1 parent fdda49c commit b9fd859

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
uses: iamazeem/setup-oracle-instant-client-action@v2
9595
- name: Import DDL to Oracle
9696
run: |
97-
sqlplus dbml_test/test@//localhost/FREEPDB1 schema.sql
97+
sqlplus -s dbml_test/test@localhost:1521/FREEPDB1 schema.sql
9898
working-directory: packages/dbml-cli/__test__/db2dbml/oracle/
9999
- name: Generate SQLite database from schema
100100
run: |

packages/dbml-cli/__test__/db2dbml/oracle/options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"args": [
33
"oracle",
4-
"dbml_test/test@//localhost/FREEPDB1",
4+
"dbml_test/test@localhost:1521/FREEPDB1",
55
"-o",
66
"./out-files/schema.dbml"
77
]

packages/dbml-cli/src/cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function sql2dbml (args) {
5050

5151
function db2dbml (args) {
5252
program.version(projectInfo.version);
53-
53+
// TODO: Update description to add `oracle` and `sqlite`
5454
const description = `Generate DBML directly from a database
5555
<database-type> your database format (postgres, mysql, mssql, snowflake, bigquery)
5656
<connection-string> your database connection string:

0 commit comments

Comments
 (0)