Table updates.
This commit is contained in:
parent
d702ec1b44
commit
94774e8f83
1 changed files with 9 additions and 1 deletions
|
|
@ -83,6 +83,10 @@ update api_translations set servicename = 'helloao';
|
|||
|
||||
alter table translations drop column short_name;
|
||||
alter table translations drop column api_endpoint;
|
||||
alter table translations add column path text default '' not null;
|
||||
alter table translations add column enabled boolean default true not null;
|
||||
update translations set path = 'bsb' where code = 'bsb';
|
||||
update translations set path = 'kjv' where code = 'kjv';
|
||||
|
||||
-- Remove translation metadata from verse list.
|
||||
alter table verses drop column translation;
|
||||
|
|
@ -101,4 +105,8 @@ create table if not exists verse_translations (
|
|||
-- Drop superfluous tables.
|
||||
drop table if exists verse_votes;
|
||||
drop table if exists verse_rotation_translations;
|
||||
drop table if exists verse_rotation_translation_votes;
|
||||
drop table if exists verse_rotation_translation_votes;
|
||||
|
||||
-- Update configurations and defaults.
|
||||
insert into system_config (config, value) values ('translations.default', 'bsb');
|
||||
alter table system_config rename to settings;
|
||||
Loading…
Reference in a new issue