restore Postgres config
This commit is contained in:
parent
e0df9c98b6
commit
070aa5d547
@ -44,8 +44,7 @@
|
||||
</cfif>
|
||||
|
||||
<cftry>
|
||||
<!-- MariaDB: AUTO_INCREMENT instead of SERIAL -->
|
||||
<cfquery datasource="#request.DS#">CREATE TABLE IF NOT EXISTS nubes_test_table (id INT AUTO_INCREMENT PRIMARY KEY, test_data TEXT, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);</cfquery>
|
||||
<cfquery datasource="#request.DS#">CREATE TABLE IF NOT EXISTS nubes_test_table (id SERIAL PRIMARY KEY, test_data TEXT, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);</cfquery>
|
||||
<cfcatch><cfset request.db_error = cfcatch.message /></cfcatch>
|
||||
</cftry>
|
||||
<cfinclude template="#arguments.template#" />
|
||||
|
||||
@ -1,9 +1,4 @@
|
||||
# Тестовое приложение by Terraform - Lucee & MariaDB
|
||||
|
||||
## MariaDB notes
|
||||
|
||||
Этот тестовый проект переведен на MariaDB. Datasource читается из переменных
|
||||
окружения `testds_*` (driver, url, username, password).
|
||||
# Тестовое приложение by Terraform - Lucee & Postgres
|
||||
|
||||
### Что здесь можно делать:
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<div class="header-bg">
|
||||
<div class="container header-content">
|
||||
<img src="https://nubes.ru/themes/custom/nubes_2025/logo.svg" alt="Nubes" class="logo">
|
||||
<div style="font-size: 14px; color: var(--nubes-blue); font-weight: 600;">Lucee + MariaDB Demo</div>
|
||||
<div style="font-size: 14px; color: var(--nubes-blue); font-weight: 600;">Lucee + Postgres Demo</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container main-content">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user