mirror of
https://github.com/alvierahman90/rabbit.git
synced 2025-10-13 07:54:25 +00:00
start creating server endpoints, database boilerplate
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE series_points;
|
6
migrations/2023-12-22-141631_create_series_points/up.sql
Normal file
6
migrations/2023-12-22-141631_create_series_points/up.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE TABLE series_points (
|
||||
id SERIAL PRIMARY KEY,
|
||||
timestamp TIMESTAMP WITHOUT TIME ZONE NOT NULL,
|
||||
value INTEGER NOT NULL,
|
||||
series_id SERIAL REFERENCES series(id)
|
||||
);
|
Reference in New Issue
Block a user