mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-30 05:11:13 +00:00
cc https://github.com/launchbadge/sqlx/pull/3400#issuecomment-3041035104 comment in `sqlx-mysql/src/collation.rs` for explanation fixes #3200 fixes #3387 fixes #3390 fixes #3409
11 lines
291 B
SQL
11 lines
291 B
SQL
-- additional SQL to execute for MariaDB databases
|
|
|
|
CREATE TABLE tweet_with_uuid
|
|
(
|
|
-- UUID is only a bespoke datatype in MariaDB.
|
|
id UUID PRIMARY KEY DEFAULT UUID(),
|
|
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
|
text TEXT NOT NULL,
|
|
owner_id UUID
|
|
);
|