gosora/schema/pgsql/query_activity_stream_matches.sql
Azareal 839df17de3 Experimenting with speeding up the installer.
Added support for foreign keys to the MySQL adapter.
activity_stream_matches now has a foreign key to help enforce referential integrity.
Added the AddForeignKey method to the database adapters.
Shortened a couple of API bits to ever slow slightly reduce the lengths of the strings.

Fixed a phrase group I missed for logged out users in init.js
Fixed a bug where deleting a topic would break the alert list when there is an alert event relating to it.

You will need to run the updater / patcher for this commit.
2019-05-06 14:04:00 +10:00

5 lines
118 B
SQL

CREATE TABLE "activity_stream_matches" (
`watcher` int not null,
`asid` int not null,
foreign key(`asid`,`asid`)
);