MySQLMessageCatalogueMigration

works.iterative.sqldb.mysql.migration.MySQLMessageCatalogueMigration

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def migrateFromJson(repository: MessageCatalogueRepository, language: Language, jsonResourcePath: String): Task[Unit]

Migrates messages from a JSON resource file to the SQL database.

Migrates messages from a JSON resource file to the SQL database.

Value parameters

jsonResourcePath

Path to JSON resource file (e.g., "/messages_en.json")

language

The language code for all messages in the JSON file

repository

The message catalogue repository for inserting messages

Attributes

Returns

Task that completes when migration is finished