mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
8 lines
276 B
MySQL
8 lines
276 B
MySQL
![]() |
-- Some view that act as aliases
|
||
|
-- unfortunately necessary, since diesel doesn't have self joins
|
||
|
-- or alias support yet
|
||
|
create view user_alias_1 as select * from user_;
|
||
|
create view user_alias_2 as select * from user_;
|
||
|
create view comment_alias_1 as select * from comment;
|
||
|
|