Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db: use bigints #30

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion installer/db-setup-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ use ssvp;
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 auto_increment, serverName text not null, eventName text not null, eventDescription text, startTime datetime not null, endTime datetime, severity integer not null, primary key (eventID);
create table ssvp_events (eventID serial, serverName text not null, eventName text not null, eventDescription text, startTime datetime not null, endTime datetime, severity integer not null, primary key (eventID);
2 changes: 1 addition & 1 deletion installer/db-setup-postgres.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ grant all on all tables in schema public to ssvp;
create table ssvp_day_logs (logDate date not null, serverName text not null, serverStatus integer not null);
create table ssvp_interval_logs (logDate timestamp not null, serverName text not null, serverStatus boolean not null);
create table ssvp_cached_stats (monthlyUptime double precision not null, yearlyUptime double precision not null, allTimeUptime double precision not null, serverName text not null, currentStatus integer not null);
create table ssvp_events (eventID serial primary key not null, serverName text not null, eventName text not null, eventDescription text, startTime timestamp not null, endTime timestamp, severity integer not null);
create table ssvp_events (eventID serial primary key, serverName text not null, eventName text not null, eventDescription text, startTime timestamp not null, endTime timestamp, severity integer not null);