You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewDatabaseBuilderError(`Not key column for Key '${key}' the type '${keyInstanceMapper.constructor.name}'`);
117
+
thrownewDatabaseBuilderError(`Mapper '${this.newable.name}', not key column for Key '${key}' the type '${keyInstanceMapper.constructor.name}'`);
128
118
}
129
119
if(mapperKey.keyColumns().length>1){
130
-
thrownewDatabaseBuilderError(`Composite Id not supported (Key '${key}' the type '${keyInstanceMapper.constructor.name}')`);
120
+
thrownewDatabaseBuilderError(`Mapper '${this.newable.name}', composite Id not supported (Key '${key}' the type '${keyInstanceMapper.constructor.name}')`);
131
121
}
132
122
constkeyMapped=mapperKey.keyColumns()[0];
133
123
this.setColumn(
@@ -136,28 +126,15 @@ export class MetadataTable<T> {
expect(result).to.equal(`CREATE TABLE IF NOT EXISTS TestClazz( internalKey INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, id INTEGER, description TEXT, disabled BOOLEAN, date INTEGER, dateMoment INTEGER, dateDate INTEGER, numero INTEGER, referenceTest_id INTEGER, referenceTestCode_code TEXT );`);
expect(result).to.equal(`CREATE TABLE IF NOT EXISTS LoginOffline( internalKey INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, id INTEGER, hash TEXT, permissions TEXT );`);
0 commit comments