mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-04-28 03:40:11 +00:00
Added translation
This commit is contained in:
parent
40a8740078
commit
0f244456ed
12 changed files with 876 additions and 9 deletions
24
src-tauri/migrations/021_translation.sql
Normal file
24
src-tauri/migrations/021_translation.sql
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
-- Add translation columns to story_entries
|
||||
ALTER TABLE story_entries ADD COLUMN translated_content TEXT;
|
||||
ALTER TABLE story_entries ADD COLUMN translation_language TEXT;
|
||||
ALTER TABLE story_entries ADD COLUMN original_input TEXT;
|
||||
|
||||
-- Add translation columns to characters
|
||||
ALTER TABLE characters ADD COLUMN translated_name TEXT;
|
||||
ALTER TABLE characters ADD COLUMN translated_description TEXT;
|
||||
ALTER TABLE characters ADD COLUMN translation_language TEXT;
|
||||
|
||||
-- Add translation columns to locations
|
||||
ALTER TABLE locations ADD COLUMN translated_name TEXT;
|
||||
ALTER TABLE locations ADD COLUMN translated_description TEXT;
|
||||
ALTER TABLE locations ADD COLUMN translation_language TEXT;
|
||||
|
||||
-- Add translation columns to items
|
||||
ALTER TABLE items ADD COLUMN translated_name TEXT;
|
||||
ALTER TABLE items ADD COLUMN translated_description TEXT;
|
||||
ALTER TABLE items ADD COLUMN translation_language TEXT;
|
||||
|
||||
-- Add translation columns to story_beats
|
||||
ALTER TABLE story_beats ADD COLUMN translated_title TEXT;
|
||||
ALTER TABLE story_beats ADD COLUMN translated_description TEXT;
|
||||
ALTER TABLE story_beats ADD COLUMN translation_language TEXT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue