diff --git a/README.md b/README.md
index 1b9d362..4a76cf4 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,8 @@
> [Go to wiki pages](https://github.com/codemeistre/docs/wiki)
-### Database Diagrams
+### Database Diagram
-- current [relational model](./private-diagrams/database.relational-model.html)
- specification [relational model](./private-diagrams/database_spec.relational-model.html)
### Application Diagrams
diff --git a/private-diagrams/database.relational-model.html b/private-diagrams/database.relational-model.html
deleted file mode 100644
index 8365681..0000000
--- a/private-diagrams/database.relational-model.html
+++ /dev/null
@@ -1,314 +0,0 @@
-
-
-
-
- DB Relational Model 09/08/2022 01:38
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/update-db-diagram.mjs b/tools/update-db-diagram.mjs
index 1ff4115..8207ad6 100755
--- a/tools/update-db-diagram.mjs
+++ b/tools/update-db-diagram.mjs
@@ -55,29 +55,15 @@ const page_passphrase = await question(
chalk.bold.bgBlack('→ Senha para criptografar o arquivo anterior: ')
)
-const is_spec_diagram = await question(
- chalk.bold.bgBlack(`→ É o diagrama da especificação? ${chalk.dim('[Yn]')}: `),
-)
- .then((answer) => {
- // Abort if neither 'y' nor 'n' (insensitive casse) was supplied
- answer = (answer || 'y').trim().at(0).toLowerCase()
- if (!['y', 'n'].includes(answer)) process.exit()
- return answer === 'y'
- })
-
let page_title, full_path_to_diagram_file;
const currTime = new Intl.DateTimeFormat('pt-BR', {
hour12:false, timeZone:'America/Manaus',
year:'numeric', month:'numeric', day:'numeric',
hour:'numeric', minute:'numeric'
}).format(new Date())
-if (is_spec_diagram) {
- page_title = `(spec.) DB Relational Model ${currTime}`
- full_path_to_diagram_file = path.join(PATH_PRIVATE_DIAGRAMS, DATABASE_SPEC_DIAGRAM_FILENAMENAME)
-} else {
- page_title = `DB Relational Model ${currTime}`
- full_path_to_diagram_file = path.join(PATH_PRIVATE_DIAGRAMS, DATABASE_CURRENT_DIAGRAM_FILENAMENAME)
-}
+
+page_title = `(spec.) DB Relational Model ${currTime}`
+full_path_to_diagram_file = path.join(PATH_PRIVATE_DIAGRAMS, DATABASE_SPEC_DIAGRAM_FILENAMENAME)
const svg_tmp_file = `${Date.now()}.svg`
const html_tmp_file = `${Date.now()}.html`