-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch completes a working implementation of sqlite support. MySQL also still works, so nothing should have regressed. Signed-off-by: Amy Parker <[email protected]>
Showing
6 changed files
with
110 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
-- SPDX-License-Identifier: AGPL-3.0-or-later | ||
-- | ||
-- ssvp: server statistics viewer project | ||
-- Copyright (C) 2023 Amy Parker <[email protected]> | ||
-- | ||
-- This program is free software; you can redistribute it and/or modify it | ||
-- under the terms of the GNU Affero General Public License as published | ||
-- by the Free Software Foundation; either version 3 of the License, or | ||
-- (at your option) any later version. | ||
-- | ||
-- This program is distributed in the hope that it will be useful, but | ||
-- WITHOUT ANY WARRANTY; without even the implied warranty of | ||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
-- See the GNU Affero General Public License for more details. | ||
-- | ||
-- You should have received a copy of the GNU Affero General Public License | ||
-- along with this program; if not, write to the Free Software Foundation, Inc., | ||
-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA or visit the | ||
-- GNU Project at https:--gnu.org/licenses. The GNU Affero General Public | ||
-- License version 3 is available at, for your convenience, | ||
-- https:--www.gnu.org/licenses/agpl-3.0.en.html. | ||
|
||
create table ssvp_day_logs ( logDate date not null, serverName text not null, serverStatus integer not null ); | ||
create table ssvp_interval_logs ( logDate datetime not null, serverName text not null, serverStatus boolean not null ); | ||
create table ssvp_cached_stats ( monthlyUptime double not null, yearlyUptime double not null, allTimeUptime double not null, serverName text not null, currentStatus integer not null ); | ||
create table ssvp_events ( eventID integer not null, serverName text not null, eventName text not null, eventDescription text, startTime datetime not null, endTime datetime, severity integer not null ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters