Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 1bdc513

Browse files
committed
add missing SQL schema
1 parent 99d4a9c commit 1bdc513

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ target/
6060

6161
# radio_api things
6262
instance/
63-
*.sql
64-
*.sqlite

radio_api/schema.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
DROP TABLE IF EXISTS stations;
2+
3+
CREATE TABLE stations(
4+
station_id INTEGER PRIMARY KEY AUTOINCREMENT,
5+
station_url TEXT NOT NULL
6+
);
7+
8+
INSERT INTO stations VALUES(1, 'http://rbb-fritz-live.cast.addradio.de/rbb/fritz/live/mp3/128/stream.mp3');

0 commit comments

Comments
 (0)