diff --git a/community/resource_types/SMTP.json b/community/resource_types/SMTP.json
deleted file mode 100755
index 8650a55a76..0000000000
--- a/community/resource_types/SMTP.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "workspace_id": "starter",
- "name": "SMTP",
- "schema": {
- "type": "object",
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "required": [
- "host"
- ],
- "properties": {
- "host": {
- "type": "string",
- "default": "mail.smtpbucket.com",
- "description": "SMTP host address"
- },
- "port": {
- "type": "integer",
- "default": 8025,
- "description": "port number on which to connect"
- },
- "user": {
- "type": "string",
- "description": ""
- },
- "password": {
- "type": "string",
- "description": ""
- }
- }
- },
- "description": "SMTP connection info"
-}
\ No newline at end of file
diff --git a/community/resource_types/postgres.json b/community/resource_types/postgres.json
deleted file mode 100755
index 258f3b6a4a..0000000000
--- a/community/resource_types/postgres.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "workspace_id": "starter",
- "name": "postgres",
- "schema": {
- "type": "object",
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "required": [
- "dbname",
- "user",
- "password"
- ],
- "properties": {
- "host": {
- "type": "string",
- "description": "The instance host"
- },
- "port": {
- "type": "integer",
- "description": "The instance port"
- },
- "user": {
- "type": "string",
- "description": "The postgres username"
- },
- "dbname": {
- "type": "string",
- "description": "The database name"
- },
- "sslmode": {
- "enum": [
- "disable",
- "allow",
- "prefer",
- "require",
- "verify-ca",
- "verify-full"
- ],
- "type": "string",
- "description": "The sslmode"
- },
- "password": {
- "type": "string",
- "description": "The postgres users password"
- }
- }
- },
- "description": "A postgres database connection resource"
-}
\ No newline at end of file
diff --git a/community/resources/g/all/demodb.json b/community/resources/g/all/demodb.json
index c1b2fd54b2..9ee45984da 100755
--- a/community/resources/g/all/demodb.json
+++ b/community/resources/g/all/demodb.json
@@ -10,6 +10,6 @@
"password": "demodb"
},
"description": "demodb",
- "resource_type": "postgres",
+ "resource_type": "postgresql",
"extra_perms": {}
-}
\ No newline at end of file
+}
diff --git a/community/scripts/u/bot/query_postgres.json b/community/scripts/u/bot/query_postgres.json
index 9d913ee082..21c155b3c0 100755
--- a/community/scripts/u/bot/query_postgres.json
+++ b/community/scripts/u/bot/query_postgres.json
@@ -12,7 +12,7 @@
"description": "",
"type": "object",
"default": null,
- "format": "resource-postgres"
+ "format": "resource-postgresql"
},
"sql_query": {
"description": "",
@@ -40,4 +40,4 @@
"wmill==1.5.0",
"wmill-pg==1.5.0"
]
-}
\ No newline at end of file
+}
diff --git a/community/scripts/u/bot/send_email_gmail.json b/community/scripts/u/bot/send_email_gmail.json
index 313a06eb26..c272cd0f13 100755
--- a/community/scripts/u/bot/send_email_gmail.json
+++ b/community/scripts/u/bot/send_email_gmail.json
@@ -15,7 +15,7 @@
"description": "",
"type": "object",
"default": null,
- "format": "resource-SMTP"
+ "format": "resource-smtp"
},
"to": {
"type": "string",
@@ -54,4 +54,4 @@
"windmill-api==1.5.0",
"wmill==1.5.0"
]
-}
\ No newline at end of file
+}
diff --git a/frontend/src/lib/components/IconedResourceType.svelte b/frontend/src/lib/components/IconedResourceType.svelte
index b12c5550c7..71b7bbc1db 100644
--- a/frontend/src/lib/components/IconedResourceType.svelte
+++ b/frontend/src/lib/components/IconedResourceType.svelte
@@ -17,11 +17,11 @@
{#if !after}
{name}
{/if}
- {#if name === 'postgres'}
+ {#if name === 'postgresql'}
{:else if name === 'mysql'}
- {:else if name === 'SMTP'}
+ {:else if name === 'smtp'}
{:else if name === 'mongodb'}