Commit c178302
fix(schema): remove 0000-00-00 values from document_templates inserts (openemr#11251)
Towards openemr#11179
#### Short description of what this resolves:
Fixes one spot that prevents database.sql from importing into the db
while in strict mode.
Note: nothing in the code (that I or Claude found) references _either_
of these columns.
#### Changes proposed in this pull request:
Changes the zero date value in `document_templates` INSERTS to `now()`
and `null` for `send_date` and `end_date` respectively.
Updates existing data to follow this format.
#### Does your code include anything generated by an AI Engine? Yes / No
Claude made the change, I sanity-checked.
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 51659b9 commit c178302
2 files changed
Lines changed: 23 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
0 commit comments