keep original message date insert

This commit is contained in:
2021-08-30 21:31:30 +02:00
parent 1b02d26fe0
commit 26b39c81db
2 changed files with 18 additions and 11 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE messages ADD posted_on TIMESTAMP DEFAULT 0 AFTER battery_state;
UPDATE messages SET posted_on = led, led = led;