web/config/sql/se
Mike Colagrosso a9a0782946 Timestamps: Set DEFAULT and ON UPDATE values
Newer versions of MariaDB, such as this one included with Ubuntu 24.04:

    Server version: 10.11.8-MariaDB-0ubuntu0.24.04.1 Ubuntu 24.04

change the default behavior to not automatically set timestamp defaults and on update values:

    $ mysqld --verbose --help | grep explicit-defaults-for-timestamp
    explicit-defaults-for-timestamp                              TRUE

whereas my older machines allowed it:

    $ mysqld --verbose --help | grep explicit-defaults-for-timestamp
    explicit-defaults-for-timestamp                              FALSE

More background on the flag here:

    https://dev.mysql.com/doc/refman/8.4/en/timestamp-initialization.html
2024-11-04 13:16:56 -06:00
..
ArtistAlternateNames.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00
Artists.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
Artworks.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
ArtworkTags.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00
Benefits.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00
CollectionEbooks.sql Split Collections into two tables 2024-11-04 13:16:56 -06:00
Collections.sql Split Collections into two tables 2024-11-04 13:16:56 -06:00
Contributors.sql Add primary keys to multiple tables 2024-11-04 13:16:56 -06:00
EbookLocSubjects.sql Add primary keys to LocSubjects and Tags tables 2024-11-04 13:16:56 -06:00
Ebooks.sql Timestamps: Set DEFAULT and ON UPDATE values 2024-11-04 13:16:56 -06:00
EbookSources.sql Add primary keys to multiple tables 2024-11-04 13:16:56 -06:00
EbookTags.sql Add primary keys to LocSubjects and Tags tables 2024-11-04 13:16:56 -06:00
FeedUserAgents.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
GitCommits.sql Add primary keys to multiple tables 2024-11-04 13:16:56 -06:00
LocSubjects.sql Initial Ebook DB schema 2024-11-04 13:16:56 -06:00
Museums.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00
NewsletterSubscriptions.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
Patrons.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00
Payments.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00
PendingPayments.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
PollItems.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00
Polls.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
PollVotes.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
Sessions.sql Change some datetime columns to timestamp 2024-10-24 16:37:09 -05:00
Tags.sql Add a Type enum to Tags for artwork/ebook 2024-11-04 13:16:56 -06:00
TocEntries.sql Add primary keys to multiple tables 2024-11-04 13:16:56 -06:00
Users.sql Add DB setup to readme 2024-10-23 11:09:16 -05:00