1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00

Update schema version to include latest migration.

Remove transaction and vacuum from sqlite migration.
Mark radio stations as implemented in the docs.
This commit is contained in:
Carl Hall 2020-06-20 13:14:38 -07:00
parent de91094ba9
commit 42c7ca40c4
3 changed files with 5 additions and 9 deletions

View File

@ -86,10 +86,10 @@ or with version 1.8.0.
| [`deletePodcastEpisode`](#deletepodcastepisode) | 1.9.0 | ❔ | | [`deletePodcastEpisode`](#deletepodcastepisode) | 1.9.0 | ❔ |
| [`downloadPodcastEpisode`](#downloadpodcastepisode) | 1.9.0 | ❔ | | [`downloadPodcastEpisode`](#downloadpodcastepisode) | 1.9.0 | ❔ |
| [`jukeboxControl`](#jukeboxcontrol) | | ✔️ | | [`jukeboxControl`](#jukeboxcontrol) | | ✔️ |
| [`getInternetRadioStations`](#getinternetradiostations) | 1.9.0 | | | [`getInternetRadioStations`](#getinternetradiostations) | 1.9.0 | ✔️ |
| [`createInternetRadioStation`](#createinternetradiostation) | 1.16.0 | | | [`createInternetRadioStation`](#createinternetradiostation) | 1.16.0 | ✔️ |
| [`updateInternetRadioStation`](#updateinternetradiostation) | 1.16.0 | | | [`updateInternetRadioStation`](#updateinternetradiostation) | 1.16.0 | ✔️ |
| [`deleteInternetRadioStation`](#deleteinternetradiostation) | 1.16.0 | | | [`deleteInternetRadioStation`](#deleteinternetradiostation) | 1.16.0 | ✔️ |
| [`getChatMessages`](#getchatmessages) | | ✔️ | | [`getChatMessages`](#getchatmessages) | | ✔️ |
| [`addChatMessage`](#addchatmessage) | | ✔️ | | [`addChatMessage`](#addchatmessage) | | ✔️ |
| [`getUser`](#getuser) | | ✔️ | | [`getUser`](#getuser) | | ✔️ |

View File

@ -23,7 +23,7 @@ from pony.orm import db_session
from urllib.parse import urlparse, parse_qsl from urllib.parse import urlparse, parse_qsl
from uuid import UUID, uuid4 from uuid import UUID, uuid4
SCHEMA_VERSION = "20190921" SCHEMA_VERSION = "20200607"
def now(): def now():

View File

@ -1,5 +1,3 @@
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS radio_station ( CREATE TABLE IF NOT EXISTS radio_station (
id CHAR(36) PRIMARY KEY, id CHAR(36) PRIMARY KEY,
stream_url VARCHAR(256) NOT NULL, stream_url VARCHAR(256) NOT NULL,
@ -8,5 +6,3 @@ CREATE TABLE IF NOT EXISTS radio_station (
created DATETIME NOT NULL created DATETIME NOT NULL
); );
COMMIT;
VACUUM;