mirror of
https://github.com/norohind/jubilant-system.git
synced 2026-11-08 01:52:24 +03:00
Add CLI interface, news_view, sql reqs fixes
This commit is contained in:
3 files changed
+83
-6
No files matched your search
@@ -61,3 +61,13 @@ author text,
|
||||
cmdr_id int,
|
||||
user_id int,
|
||||
inserted_timestamp datetime default current_timestamp);
|
||||
|
||||
create view if not exists news_view
|
||||
as
|
||||
select *
|
||||
from news
|
||||
where inserted_timestamp in (
|
||||
select max(inserted_timestamp)
|
||||
from news
|
||||
group by squad_id)
|
||||
group by squad_id;
|
||||
Reference in new issue
Block a user