- Modification du schéma rappels : remplacement de nbJours par joursAvant pour correspondre à la structure réelle de la base de données - Correction des noms de colonnes pour utiliser exactement la même casse que la base de données (templateType, heureEnvoi, nomFichier, urlFichier, s3Key, typeFichier, tailleFichier, derniereExecution) - La page Rappels fonctionne maintenant correctement et affiche tous les rappels configurés sans erreurs SQL
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"query": "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'rappels' ORDER BY ORDINAL_POSITION;",
|
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'rappels' ORDER BY ORDINAL_POSITION;",
|
|
"rows": [
|
|
{
|
|
"COLUMN_NAME": "id"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "nom"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "templateType"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "timing"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "joursAvant"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "heureEnvoi"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "actif"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "derniereExecution"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "createdAt"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "updatedAt"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "nomFichier"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "urlFichier"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "s3Key"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "typeFichier"
|
|
},
|
|
{
|
|
"COLUMN_NAME": "tailleFichier"
|
|
}
|
|
],
|
|
"messages": [],
|
|
"stdout": "COLUMN_NAME\nid\nnom\ntemplateType\ntiming\njoursAvant\nheureEnvoi\nactif\nderniereExecution\ncreatedAt\nupdatedAt\nnomFichier\nurlFichier\ns3Key\ntypeFichier\ntailleFichier\n",
|
|
"stderr": "",
|
|
"execution_time_ms": 761
|
|
} |