-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Sample Data for posts, posts_votes, and posts_attachments #3278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
palisadoes
merged 11 commits into
PalisadoesFoundation:develop-postgres
from
prayanshchh:sample_data_posts
Feb 23, 2025
Merged
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
35f5fb2
sample data
prayanshchh 8b536cb
functionality for comments and comment_votes
prayanshchh d5af470
post_attachements functionality
prayanshchh c49ddff
Merge branch 'develop-postgres' of https://github.com/PalisadoesFound…
prayanshchh 9133f92
script fix
prayanshchh 393f2b1
black fix
prayanshchh d62d5c3
script update
prayanshchh eadbf95
python checks
prayanshchh ca4e20d
suggestions
prayanshchh 777acd8
lint
prayanshchh 5e42b1a
Merge branch 'develop-postgres' into sample_data_posts
prayanshchh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[ | ||
{ | ||
"id": "a3990b3f-00f4-49a5-898f-ecea9de497a5", | ||
"commentId": "14be44b7-cb4e-4d94-a115-16016674b02a", | ||
"createdAt": "2025-02-10T12:20:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "327fc011-fa70-49cf-84ab-64747a8ca4fc", | ||
"commentId": "ac01b0f6-7bf0-4463-a3e1-95131da20bb5", | ||
"createdAt": "2025-02-10T12:25:00.000Z", | ||
"creatorId": "65378abd-8500-8f17-1cf2-990d00000002", | ||
"type": "down_vote" | ||
}, | ||
{ | ||
"id": "63c8d09c-cbc5-41fc-8e10-5bcf1c51dc74", | ||
"commentId": "53960440-f930-4958-8bff-f7390e4f6e78", | ||
"createdAt": "2025-02-09T10:30:00.000Z", | ||
"creatorId": "66378abd-8500-8f17-1cf2-990d00000003", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "303c1abb-7d96-4c24-bc60-27f3532a86ee", | ||
"commentId": "1fe6f748-7f14-48a3-a9ba-fa4f2cd3ddbc", | ||
"createdAt": "2025-02-09T10:35:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000005", | ||
"type": "down_vote" | ||
}, | ||
{ | ||
"id": "b2007dcf-6e33-4697-add1-593623c828cd", | ||
"commentId": "8b681992-8670-43bf-b1f8-67cd82dc4e06", | ||
"createdAt": "2025-02-08T08:55:00.000Z", | ||
"creatorId": "658938a6-2caa-9d8d-6908-74880000000d", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "b74c0222-aef5-4c33-8468-1b775b6c8c56", | ||
"commentId": "17efa258-03cf-4535-addb-2a496f4795ea", | ||
"createdAt": "2025-02-08T09:00:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000004", | ||
"type": "down_vote" | ||
}, | ||
{ | ||
"id": "b2edacc1-bf22-40b0-899f-d0791e80c7e6", | ||
"commentId": "4fbcce27-b64b-4455-87c5-93f8e19997d2", | ||
"createdAt": "2025-02-07T09:45:00.000Z", | ||
"creatorId": "658938b0-2caa-9d8d-6908-74890000000e", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "7820b237-5df6-42ea-ba7e-41d9c452d2e5", | ||
"commentId": "ba206aeb-ffe6-49fd-8599-eac9c367bdda", | ||
"createdAt": "2025-02-07T09:50:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"type": "down_vote" | ||
} | ||
] | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[ | ||
{ | ||
"id": "14be44b7-cb4e-4d94-a115-16016674b02a", | ||
"body": "This is an insightful post!", | ||
"createdAt": "2025-02-10T12:10:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"postId": "2778f4a2-a6f1-45cc-857f-727ca942899d" | ||
}, | ||
{ | ||
"id": "ac01b0f6-7bf0-4463-a3e1-95131da20bb5", | ||
"body": "Great initiative! Looking forward to more updates.", | ||
"createdAt": "2025-02-10T12:15:00.000Z", | ||
"creatorId": "65378abd-8500-8f17-1cf2-990d00000002", | ||
"postId": "98cef234-af91-4a11-b33f-5fd6cf41219c" | ||
}, | ||
{ | ||
"id": "53960440-f930-4958-8bff-f7390e4f6e78", | ||
"body": "This bootcamp will help a lot of people!", | ||
"createdAt": "2025-02-09T10:20:00.000Z", | ||
"creatorId": "66378abd-8500-8f17-1cf2-990d00000003", | ||
"postId": "a44d75a0-267f-4429-b03c-a26cc4ec56dc" | ||
}, | ||
{ | ||
"id": "1fe6f748-7f14-48a3-a9ba-fa4f2cd3ddbc", | ||
"body": "Well organized event! Keep up the good work.", | ||
"createdAt": "2025-02-09T10:25:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000005", | ||
"postId": "f3da248b-ee18-4197-bd0b-de5480c010ee" | ||
}, | ||
{ | ||
"id": "8b681992-8670-43bf-b1f8-67cd82dc4e06", | ||
"body": "Providing free legal aid is crucial!", | ||
"createdAt": "2025-02-08T08:50:00.000Z", | ||
"creatorId": "658938a6-2caa-9d8d-6908-74880000000d", | ||
"postId": "885bee36-2751-4d78-bfd4-7ededdd89a0f" | ||
}, | ||
{ | ||
"id": "17efa258-03cf-4535-addb-2a496f4795ea", | ||
"body": "Access to justice for all is a fundamental right!", | ||
"createdAt": "2025-02-08T08:55:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000004", | ||
"postId": "ecaeed44-d0b2-4559-bad6-ab6f49362325" | ||
}, | ||
{ | ||
"id": "4fbcce27-b64b-4455-87c5-93f8e19997d2", | ||
"body": "Senior wellness programs are essential!", | ||
"createdAt": "2025-02-07T09:35:00.000Z", | ||
"creatorId": "658938b0-2caa-9d8d-6908-74890000000e", | ||
"postId": "2022fe3e-846e-48de-8a27-230fda85e495" | ||
}, | ||
{ | ||
"id": "ba206aeb-ffe6-49fd-8599-eac9c367bdda", | ||
"body": "Such programs help maintain mental and physical health.", | ||
"createdAt": "2025-02-07T09:40:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"postId": "17f0e29a-f7a2-435e-8dc1-2e52c6b25b6c" | ||
} | ||
] | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[ | ||
{ | ||
"id": "8a0aff46-6f59-4626-9005-6528fdcab7e8", | ||
"createdAt": "2025-02-10T12:10:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"postId": "2778f4a2-a6f1-45cc-857f-727ca942899d", | ||
"mimeType": "image/jpeg", | ||
"name": "01JMQ3EABXAD1F3KTW1NQGF99C" | ||
}, | ||
{ | ||
"id": "e1bba4bb-5edd-40fd-9baf-741647d26ec0", | ||
"createdAt": "2025-02-10T12:11:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"postId": "98cef234-af91-4a11-b33f-5fd6cf41219c", | ||
"mimeType": "image/webp", | ||
"name": "01JMQ3ETE4Q257BJV59TBSNJMN" | ||
}, | ||
{ | ||
"id": "5065ab3d-51bd-4c6e-b3e3-389af5610cc3", | ||
"createdAt": "2025-02-10T12:20:00.000Z", | ||
"creatorId": "65378abd-8500-8f17-1cf2-990d00000002", | ||
"postId": "a44d75a0-267f-4429-b03c-a26cc4ec56dc", | ||
"mimeType": "image/jpeg", | ||
"name": "01JMQ3F1B55K272B25V19781D0" | ||
}, | ||
{ | ||
"id": "ea15240d-269d-4c94-8f7c-fa4723bd3413", | ||
"createdAt": "2025-02-10T12:21:00.000Z", | ||
"creatorId": "65378abd-8500-8f17-1cf2-990d00000002", | ||
"postId": "f3da248b-ee18-4197-bd0b-de5480c010ee", | ||
"mimeType": "image/jpeg", | ||
"name": "01JMQ3F9E5C806CN6M8EV31E01" | ||
}, | ||
{ | ||
"id": "c898e282-29e4-4f0c-abb3-0829c6091575", | ||
"createdAt": "2025-02-10T12:30:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000005", | ||
"postId": "885bee36-2751-4d78-bfd4-7ededdd89a0f", | ||
"mimeType": "image/jpeg", | ||
"name": "01JMQ3FGBEDRB9AM6XP9C97RF8" | ||
}, | ||
{ | ||
"id": "685b4d55-9627-474d-a8d8-d36aaf34a93d", | ||
"createdAt": "2025-02-10T12:31:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000005", | ||
"postId": "ecaeed44-d0b2-4559-bad6-ab6f49362325", | ||
"mimeType": "image/jpeg", | ||
"name": "01JMQ3FPS789Z1J6BBQ01YDHVQ" | ||
} | ||
] | ||
|
||
prayanshchh marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[ | ||
{ | ||
"id": "8e3bae34-955b-4f55-9118-e03e56c5faeb", | ||
"createdAt": "2025-02-12T14:10:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"postId": "2778f4a2-a6f1-45cc-857f-727ca942899d", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "abe50392-5b74-4edc-a933-7e98f1106999", | ||
"createdAt": "2025-02-12T14:12:00.000Z", | ||
"creatorId": "65378abd-8500-8f17-1cf2-990d00000002", | ||
"postId": "98cef234-af91-4a11-b33f-5fd6cf41219c", | ||
"type": "down_vote" | ||
}, | ||
{ | ||
"id": "7491184e-d12a-4d19-a955-78a08b2fa058", | ||
"createdAt": "2025-02-13T10:30:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000005", | ||
"postId": "a44d75a0-267f-4429-b03c-a26cc4ec56dc", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "cca57ea7-2c98-4bb7-8d76-a01a8bfbfaf4", | ||
"createdAt": "2025-02-13T10:35:00.000Z", | ||
"creatorId": "0194e194-c6b3-7802-b074-362efea24dbc", | ||
"postId": "f3da248b-ee18-4197-bd0b-de5480c010ee", | ||
"type": "down_vote" | ||
}, | ||
{ | ||
"id": "f5644877-31a8-443f-bd21-c79269c9f859", | ||
"createdAt": "2025-02-14T08:45:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000006", | ||
"postId": "885bee36-2751-4d78-bfd4-7ededdd89a0f", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "da8e8ab7-3521-4596-992d-c2de4e60bb71", | ||
"createdAt": "2025-02-14T08:50:00.000Z", | ||
"creatorId": "66378abd-8500-8f17-1cf2-990d00000003", | ||
"postId": "ecaeed44-d0b2-4559-bad6-ab6f49362325", | ||
"type": "down_vote" | ||
}, | ||
{ | ||
"id": "2ca3cced-6dfc-4f66-b79e-c18b4477080e", | ||
"createdAt": "2025-02-15T09:30:00.000Z", | ||
"creatorId": "658938a6-2caa-9d8d-6908-74880000000d", | ||
"postId": "d3288d60-11c7-4401-ac70-f36f289c385f", | ||
"type": "up_vote" | ||
}, | ||
{ | ||
"id": "29c8d791-8aac-4a73-a16c-84696366d42e", | ||
"createdAt": "2025-02-15T09:35:00.000Z", | ||
"creatorId": "67378abd-8500-8f17-1cf2-990d00000007", | ||
"postId": "2022fe3e-846e-48de-8a27-230fda85e495", | ||
"type": "down_vote" | ||
} | ||
] | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.