waveterm/wavesrv/db/migrations/000002_activity.up.sql

12 lines
320 B
MySQL
Raw Permalink Normal View History

2023-01-17 08:36:52 +01:00
CREATE TABLE activity (
day varchar(20) PRIMARY KEY,
uploaded boolean NOT NULL,
tdata json NOT NULL,
2023-01-17 08:36:52 +01:00
tzname varchar(50) NOT NULL,
tzoffset int NOT NULL,
clientversion varchar(20) NOT NULL,
clientarch varchar(20) NOT NULL
);
ALTER TABLE client ADD COLUMN clientopts json NOT NULL DEFAULT '';