« first day (4543 days earlier)      last day (613 days later) » 

00:00
Loose bits sink chips. (source)
 
1 hour later…
01:14
@SergeyZolotarev Erm, you can't?
 
9 hours later…
10:36
@Michael well, that's why I asked this question
 
3 hours later…
13:07
@SergeyZolotarev The only way to specify an HTTP method in raw HTML is through the method attribute in <form>.
Thymeleaf must be generating Javascript to make those HTTP calls.
And method only supports GET and POST.
13:32
ChatGPT said the same thing. It suggested using a script which is a bit too much for such a trivial objective (so I abandoned it altogether and made my deleteUser() handler accept GET requests)
13:51
Ha!
It's bad practice to use GET for non-idempotent actions.
 
1 hour later…
15:06
@Michael what would you do?
15:21
Suppose I want Spring to

1. Check if required tables exist
2. Add columns, if necessary
3. Add sample rows if tables are empty (do nothing if not)

I read this article (https://www.baeldung.com/spring-boot-data-sql-and-schema-sql). My understanding is that I have to do this to fulfill my objective

1. Set these properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.defer-datasource-initialization=true
spring.sql.init.mode=always

2. Add a data.sql file that incorporates some in-built conditional logic

« first day (4543 days earlier)      last day (613 days later) »