diff --git a/src/Models/TranslationLine.php b/src/Models/TranslationLine.php index 463b291..c6d359f 100644 --- a/src/Models/TranslationLine.php +++ b/src/Models/TranslationLine.php @@ -45,6 +45,20 @@ class TranslationLine extends TranslationLineOriginal 'database' => 'boolean', ]; + /** + * The model table schema. + * Used to handle empty datasets + */ + protected $schema = [ + 'id' => 'string', + 'id_database' => 'integer', + 'database' => 'boolean', + 'group' => 'string', + 'key' => 'string', + 'text' => 'string', + 'created_at' => 'date', + ]; + /** * Group key accessor. */