mirror of
https://github.com/norohind/jubilant-system-core.git
synced 2026-10-22 23:02:08 +03:00
Basic functional implemented: can update squadron with specified id
This commit is contained in:
15 files changed
+376
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
insert into operations_info (squad_id) values (:squad_id) RETURNING operation_id;
|
||||
@@ -0,0 +1 @@
|
||||
insert into squadrons_deleted (operation_id, squad_id) VALUES (:operation_id, :squad_id);
|
||||
@@ -0,0 +1,43 @@
|
||||
INSERT INTO squadrons_historical_data values (
|
||||
:operation_id,
|
||||
:name,
|
||||
:tag,
|
||||
:owner_id,
|
||||
:owner_name,
|
||||
:platform,
|
||||
:created,
|
||||
:created_ts,
|
||||
:accepting_new_members,
|
||||
:power_id,
|
||||
:power_name,
|
||||
:superpower_id,
|
||||
:superpower_name,
|
||||
:faction_id,
|
||||
:faction_name,
|
||||
:delete_after,
|
||||
:credits_balance,
|
||||
:credits_in,
|
||||
:credits_out,
|
||||
:user_tags,
|
||||
:member_count,
|
||||
:online_count,
|
||||
:pending_count,
|
||||
:full,
|
||||
:public_comms,
|
||||
:public_comms_override,
|
||||
:public_comms_available,
|
||||
:current_season_trade_score,
|
||||
:previous_season_trade_score,
|
||||
:current_season_combat_score,
|
||||
:previous_season_combat_score,
|
||||
:current_season_exploration_score,
|
||||
:previous_season_exploration_score,
|
||||
:current_season_cqc_score,
|
||||
:previous_season_cqc_score,
|
||||
:current_season_bgs_score,
|
||||
:previous_season_bgs_score,
|
||||
:current_season_powerplay_score,
|
||||
:previous_season_powerplay_score,
|
||||
:current_season_aegis_score,
|
||||
:previous_season_aegis_score
|
||||
);
|
||||
@@ -0,0 +1,22 @@
|
||||
insert into squadrons_news_historical (
|
||||
operation_id,
|
||||
type_of_news,
|
||||
news_id,
|
||||
"date",
|
||||
category,
|
||||
motd,
|
||||
author,
|
||||
cmdr_id,
|
||||
user_id
|
||||
) values
|
||||
(
|
||||
:operation_id,
|
||||
:type_of_news,
|
||||
:news_id,
|
||||
:date,
|
||||
:category,
|
||||
:motd,
|
||||
:author,
|
||||
:cmdr_id,
|
||||
:user_id
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
select count(*) from squadrons_deleted where squad_id = :squad_id;
|
||||
Reference in new issue
Block a user