Skip to content

Commit

Permalink
fix: Temporarily support only schema.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF committed Dec 26, 2024
1 parent 63f86fc commit ee6fb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/apps/erd-web/app/erd/p/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default async function Page({
setPrismWasmUrl(path.resolve(process.cwd(), 'prism.wasm'))

// Currently supports Postgres only
const { value: dbStructure, errors } = await parse(input, 'postgres')
const { value: dbStructure, errors } = await parse(input, 'schemarb')
if (errors.length > 0) {
for (const error of errors) {
console.error(error)
Expand Down

0 comments on commit ee6fb21

Please sign in to comment.