mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
Apply suggestions from code review
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
ea101a5674
commit
c557331a83
|
|
@ -64,7 +64,7 @@ type GetAliasesForRoomIDResponse struct {
|
||||||
|
|
||||||
// GetCreatorIDForAliasRequest is a request to GetCreatorIDForAlias
|
// GetCreatorIDForAliasRequest is a request to GetCreatorIDForAlias
|
||||||
type GetCreatorIDForAliasRequest struct {
|
type GetCreatorIDForAliasRequest struct {
|
||||||
// The alias we want to find creator for
|
// The alias we want to find the creator of
|
||||||
Alias string `json:"alias"`
|
Alias string `json:"alias"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS roomserver_room_aliases (
|
||||||
alias TEXT NOT NULL PRIMARY KEY,
|
alias TEXT NOT NULL PRIMARY KEY,
|
||||||
-- Room ID the alias refers to
|
-- Room ID the alias refers to
|
||||||
room_id TEXT NOT NULL,
|
room_id TEXT NOT NULL,
|
||||||
-- ID of the user created this alias
|
-- User ID of the creator of this alias
|
||||||
creator_id TEXT NOT NULL
|
creator_id TEXT NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue