@platform-modules/foreign-ministry 1.0.37 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data-source.js +3 -1
- package/package.json +1 -1
- package/src/data-source.ts +3 -1
package/dist/data-source.js
CHANGED
|
@@ -37,6 +37,7 @@ const CategoriesModel_1 = require("./models/CategoriesModel");
|
|
|
37
37
|
const PostsModel_1 = require("./models/PostsModel");
|
|
38
38
|
const CommentsModel_1 = require("./models/CommentsModel");
|
|
39
39
|
const PostAttachmentsModel_1 = require("./models/PostAttachmentsModel");
|
|
40
|
+
const PostReactionsModel_1 = require("./models/PostReactionsModel");
|
|
40
41
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
41
42
|
type: 'postgres',
|
|
42
43
|
host: process.env.DB_HOST || 'localhost',
|
|
@@ -78,6 +79,7 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
78
79
|
CategoriesModel_1.Categories,
|
|
79
80
|
PostsModel_1.Posts,
|
|
80
81
|
CommentsModel_1.Comments,
|
|
81
|
-
PostAttachmentsModel_1.PostAttachments
|
|
82
|
+
PostAttachmentsModel_1.PostAttachments,
|
|
83
|
+
PostReactionsModel_1.PostReactions
|
|
82
84
|
],
|
|
83
85
|
});
|
package/package.json
CHANGED
package/src/data-source.ts
CHANGED
|
@@ -36,6 +36,7 @@ import { Categories } from './models/CategoriesModel';
|
|
|
36
36
|
import { Posts } from './models/PostsModel';
|
|
37
37
|
import { Comments } from './models/CommentsModel';
|
|
38
38
|
import { PostAttachments } from './models/PostAttachmentsModel';
|
|
39
|
+
import { PostReactions } from './models/PostReactionsModel';
|
|
39
40
|
|
|
40
41
|
|
|
41
42
|
|
|
@@ -81,6 +82,7 @@ export const AppDataSource = new DataSource({
|
|
|
81
82
|
Categories,
|
|
82
83
|
Posts,
|
|
83
84
|
Comments,
|
|
84
|
-
PostAttachments
|
|
85
|
+
PostAttachments,
|
|
86
|
+
PostReactions
|
|
85
87
|
],
|
|
86
88
|
});
|