Imrpove chat with gifs, videos, music player, redesigns and improved filesharing errors
This commit is contained in:
@@ -34,7 +34,15 @@ if (fs.existsSync(projectRootDatabaseFilePath)) {
|
||||
export const AppDataSource = new DataSource({
|
||||
type: 'sqljs',
|
||||
database: databaseFileBuffer,
|
||||
entities: [MessageEntity, UserEntity, RoomEntity, ReactionEntity, BanEntity, AttachmentEntity, MetaEntity],
|
||||
entities: [
|
||||
MessageEntity,
|
||||
UserEntity,
|
||||
RoomEntity,
|
||||
ReactionEntity,
|
||||
BanEntity,
|
||||
AttachmentEntity,
|
||||
MetaEntity
|
||||
],
|
||||
migrations: [path.join(__dirname, 'migrations', '*.{ts,js}')],
|
||||
synchronize: false,
|
||||
logging: false,
|
||||
|
||||
Reference in New Issue
Block a user