mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
Change spacing in init_db.sql and add comment on table creation
This commit is contained in:
parent
3354a7d5f2
commit
31ee935628
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
## Beschreibung
|
||||
Mit diesem Plugin ist es moeglich, die Alarmierungen in einer Mysql / Mariadb Datenbank zu speichern.
|
||||
Das Plugin legt die Tabelle "boswatch" selbststaendig an, wenn diese nicht vorhanden ist.
|
||||
|
||||
## Unterstütze Alarmtypen
|
||||
- Fms
|
||||
|
|
|
|||
23
init_db.sql
23
init_db.sql
|
|
@ -8,16 +8,16 @@ create table boswatch
|
|||
pocsag_subricText enum('a', 'b', 'c', 'd') default null,
|
||||
pocsag_message text default null,
|
||||
pocsag_bitrate enum('512', '1200', '2400') default null,
|
||||
zvei_tone char(5) default null,
|
||||
fms_fms char(8) default null,
|
||||
fms_service varchar(255) default null,
|
||||
fms_country varchar(255) default null,
|
||||
fms_location varchar(255) default null,
|
||||
fms_vehicle varchar(255) default null,
|
||||
fms_status char(1) default null,
|
||||
fms_direction char(1) default null,
|
||||
fms_directionText tinytext default null,
|
||||
fms_tacticalInfo char(3) default null,
|
||||
zvei_tone char(5) default null,
|
||||
fms_fms char(8) default null,
|
||||
fms_service varchar(255) default null,
|
||||
fms_country varchar(255) default null,
|
||||
fms_location varchar(255) default null,
|
||||
fms_vehicle varchar(255) default null,
|
||||
fms_status char(1) default null,
|
||||
fms_direction char(1) default null,
|
||||
fms_directionText tinytext default null,
|
||||
fms_tacticalInfo char(3) default null,
|
||||
serverName varchar(255) not null,
|
||||
serverVersion varchar(100) not null,
|
||||
serverBuildDate varchar(255) not null,
|
||||
|
|
@ -31,4 +31,5 @@ create table boswatch
|
|||
frequency varchar(30) not null
|
||||
);
|
||||
create unique index boswatch_id_uindex
|
||||
on boswatch (id);
|
||||
on boswatch (id);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue