MySQLで作成されたこの単純なテーブルを取得するのに苦労しています:
create table events (
id int,
when timestamp not null,
summary varchar(256) not null,
description varchar(500) not null,
owner int not null,
attendee int not null,
PRIMARY KEY(id),
FOREIGN KEY(owner) REFERENCES calendar_users(id),
FOREIGN KEY(attendee) REFERENCES calendar_users(id)
);
FK の説明と PK ステートメントは問題ありません。しかし、MySQL はなぜか 3 行目に問題があるようです。誰でも私を助けてください。ありがとう。