-
-
Notifications
You must be signed in to change notification settings - Fork 65
Description
CREATE TABLE folder(
id varchar not null
primary key,
library_id integer not null
references library (id)
on delete cascade,
path varchar default '' not null,
name varchar default '' not null,
missing boolean default false not null,
parent_id varchar default '' not null,
num_audio_files integer default 0 not null,
num_playlists integer default 0 not null,
image_files jsonb default '[]' not null,
images_updated_at datetime default '0000-00-00 00:00:00' not null,
updated_at datetime default (datetime(current_timestamp, 'localtime')) not null,
created_at datetime default (datetime(current_timestamp, 'localtime')) not null,
hash varchar default '' not null
);I think it fails because of jsonb that needs to be converted to MariaDB's json type. And because of date fields and their defaults.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working