Skip to content

Commit 268a1dc

Browse files
elliotBraemitexpert120codingshotlouisdevzzsaadiqbal-dev
authored
Fix timestamp conversion (#172)
* Get basic working (#109) * Get basic working * adds rss feeds * added stablewatch founder and stablecoin intern from messaria as approvers on stablecoins feed * fixes to config for grants, sui, and telegram channels (#102) * add query param for selective processing (#103) * adds query param to process * add query param for processing * simplify * add tags * Feat: implement frontend leaderboard (#93) * feat: implement frontend leaderboard * feat: implement a leaderboard in frontend * feat: implemented leaderboard * fix: rebuild implement leaderboard * fix: prettier * fix: prettier * fix: reimplement frontend leaderboard * fix: implement frontend leaderboard * approval rate * sets approval rate and hides curator --------- Co-authored-by: Elliot Braem <elliot@ejlbraem.com> * remove tailwind-scrollbar * added bob to desci feed * Get basic working * set .env.example * nitpicks --------- Co-authored-by: Elliot Braem <elliot@ejlbraem.com> Co-authored-by: codingshot <45281667+codingshot@users.noreply.github.com> Co-authored-by: Elliot Braem <elliot@everything.dev> Co-authored-by: Louis <112561517+louisdevzz@users.noreply.github.com> * fix polyfills * Explore Page (#108) * Explore Page - commit-1 * Explore Page - commit-2 * explore page - commit-3 * explore page - commit - 4 * explore page - commit - prettier * explore page responsiveness + code Rabbit Comments * code Rabbit Comments resolved * css updates * css changes 2 * header update + mobile responsive * conflicts resolved * Rebase and changes * Fix fmt * Header + Explore Page Style (#113) * Explore Page - commit-1 * Explore Page - commit-2 * explore page - commit-3 * explore page - commit - 4 * explore page - commit - prettier * explore page responsiveness + code Rabbit Comments * code Rabbit Comments resolved * css updates * css changes 2 * header update + mobile responsive * conflicts resolved * Rebase and changes * Fix fmt * Header Updates + Web3Auth getUserInfo + Explore Page changes * fmt * coderabbit comments resolved * Profile page (#120) * Update the FE to have the profile page (header and tabs init) * Move tabs to it's own component * Add stats and top badges to overview * Finish the overview tab * Update overview page and init content page * feat(profile-page): add Content and My Feed tags * feat(profile-page): finish profile page static UI * refactor: fmt * [FEATURE] Create Feed Page - DRAFT (#121) * Curate Engine Step 1 * content-progress-configuration step-1 * Curation Settings Part 2 and 3 * CodeRabbit Comments Resolved + Mobile Responsive * Responsiveness: empty State, JSON check --------- Co-authored-by: Elliot Braem <elliot@everything.dev> * update to main * fmt * Feat/submissions page (#127) * Submissions Page + Feed Page + Mobile Responsiveness * fixes * craete-feed authenticated user condition * fmt * remove sqlite --------- Co-authored-by: Elliot Braem <elliot@ejlbraem.com> * Feed Page Tabs (#130) * set tanstack routes (#132) * [Task]: Add connect button to feed page (#131) * feat: Add connect button to feed page * fix: recommit * added back to stablecoins feed since stablewatch forked their own * fix packages, update pg, and ignore cloudflare sockets * fmt --------- Co-authored-by: ethnclark <ethanclark1310@gmail.com> Co-authored-by: codingshot <45281667+codingshot@users.noreply.github.com> Co-authored-by: Elliot Braem <elliot@ejlbraem.com> * uses prod data * Update changes to latest staging * Revert "Update changes to latest staging" This reverts commit cd12908. * Fix Sort By Oldest (#136) * fix: Sort By Oldest * fix: Sort By Oldest * fix: Fix RecentSubmissions Sort Order Update * fix: All feed should be hidden, remove double title --------- Co-authored-by: vohuunhan1310@gmail.com <ethanclark1310@gmail.com> * UI fixes (#138) * UI fixes * fmt --------- Co-authored-by: Elliot Braem <elliot@everything.dev> * Fix: Leaderboard improvements (#140) * fix: Leaderboard improvements * fix: fmt * reorganize * remove unused * rename * clean up * fmt --------- Co-authored-by: Elliot Braem <elliot@ejlbraem.com> * clean up * wallet wip * todo * auth flow, wip * types clean up * fix types * login modal wip * modals * controller, service, successful create account * clean with data, metadata, and pattern, validation, and json schema * add migration doc * add activity and delete user * fix migration * add seed remote method * fix naming * fix script call * file extension * remove build schema * proper build time * fix Dockerfile * rsbuild * Standard Header Component + Responsivenss Fixes (#146) * Standard Header Component + Responsivenss Fixes * fmt * rename Hero --------- Co-authored-by: Elliot Braem <elliot@ejlbraem.com> * fix broken link * don't distribute on staging * fix path * env log * comment out * railway env * fix: Profile adjustments (#153) * fix: Leaderboard improvements * fix: fmt * fix: Profile adjustments * fix: resolve conversation * Login Modal Fixes (#154) * Login Modal Fixes * Resolve Comments * container * container fixes --------- Co-authored-by: Elliot Braem <elliot@everything.dev> * organize * fmt * update feeds (#156) * Leaderboard width fixes * feat: save profile image to pinata (#158) * feat(fe): save profile image to pinata * fix: fix comment * Feat Integrate NEAR Solana, Ethereum wallet selection (#159) * fix: Leaderboard improvements * fix: fmt * fix: Profile adjustments * fix: resolve conversation * feat: Integrate NEAR wallet selection * fix: run fmt * fix: add function create accesstokenpayload use wallet selector near * fix: resolve conversation * Feed Submission + Feed Review Page (#160) * Feed Review Page and Feed Creation * fmt * coderabbit comments resolved * comments resolved * comments resolved * reset routeTree * minor fixes (#164) * minor fixes * fmt * remove node-compile-cache * reuse user menu * header clean up * remove how it works * clean up * set submissions at root route * fmt * clean * create is coming soon * clean up * user link * Adds caddyfile and frontend clean up (#165) * removes serve static from backend * fmt * fix build * adds caddyfile * clean up submission feed * pnpm lock * fix turbo * fix build * db migration * without time zone * cleans up submission list * Adds shared-db, types package, initial migration (#166) * init * upgrade tsconfigs * shared-db build * shared-db wip * transfer getAllSubmissions * hooked up * moves to shared-db * fmt * update dockerfile * monorepo * working build * migration service * turbo * install pnpm * temp proxy * no include request headers * clean up * proper path * renaming * fmt * update caddyfile * different strategy * use route * fix BACKEND to API * ignore temp * temp remove * back to orig * turn on auto https * disable * route block * clean up * configure host * favicon * add staging domain * http: * set domain adn host * correct bash * matching host * Adds edit feed and image upload (#168) * adds page * image upload and edit feed * update pnpm lock * CSR * vercel json * move * temp disable auth * set image * fix query * submisison service running * Migrates submission service, is running (#169) * init * wip * clean up * feed list clean up * break up functions * fix config path * adds plugins route and integrates with plugin service * remote curate.config.json * plugins table * adds plugin pages * set type * fix feed types * plguin errors * env injection * fix queries * fix migration * fix migration * fix migration * redo migration * decouples moderation * fix status * fix feeds * hide moderation actions * adds overwrite script * migrate timestamps * better date handling * fix --------- Co-authored-by: Zeeshan Ahmad <itexpert120@outlook.com> Co-authored-by: codingshot <45281667+codingshot@users.noreply.github.com> Co-authored-by: Louis <112561517+louisdevzz@users.noreply.github.com> Co-authored-by: Muhammad Saad Iqbal <saadiqbal.dev@outlook.com> Co-authored-by: ethnclark <ethanclark1310@gmail.com> Co-authored-by: dungpt82 <69756171+dungpt99@users.noreply.github.com>
1 parent d0bf3d7 commit 268a1dc

File tree

1 file changed

+45
-32
lines changed

1 file changed

+45
-32
lines changed
Lines changed: 45 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,73 @@
1-
ALTER TABLE "activities" ALTER COLUMN "timestamp" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
1+
ALTER TABLE "activities" ALTER COLUMN "timestamp" SET DATA TYPE timestamp with time zone USING timestamp::timestamp with time zone;--> statement-breakpoint
22
ALTER TABLE "activities" ALTER COLUMN "timestamp" SET DEFAULT now();--> statement-breakpoint
3-
ALTER TABLE "activities" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
3+
ALTER TABLE "activities" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
44
ALTER TABLE "activities" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
5-
ALTER TABLE "activities" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
5+
ALTER TABLE "activities" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
66
ALTER TABLE "activities" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
7-
ALTER TABLE "feed_user_stats" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
7+
8+
ALTER TABLE "feed_user_stats" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
89
ALTER TABLE "feed_user_stats" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
9-
ALTER TABLE "feed_user_stats" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
10+
ALTER TABLE "feed_user_stats" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
1011
ALTER TABLE "feed_user_stats" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
11-
ALTER TABLE "user_stats" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
12+
13+
ALTER TABLE "user_stats" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
1214
ALTER TABLE "user_stats" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
13-
ALTER TABLE "user_stats" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
15+
ALTER TABLE "user_stats" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
1416
ALTER TABLE "user_stats" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
15-
ALTER TABLE "feed_plugins" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
17+
18+
ALTER TABLE "feed_plugins" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
1619
ALTER TABLE "feed_plugins" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
17-
ALTER TABLE "feed_plugins" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
20+
ALTER TABLE "feed_plugins" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
1821
ALTER TABLE "feed_plugins" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
19-
ALTER TABLE "feed_recaps_state" ALTER COLUMN "last_successful_completion" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
20-
ALTER TABLE "feed_recaps_state" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
22+
23+
ALTER TABLE "feed_recaps_state" ALTER COLUMN "last_successful_completion" SET DATA TYPE timestamp with time zone USING last_successful_completion::timestamp with time zone;--> statement-breakpoint
24+
ALTER TABLE "feed_recaps_state" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
2125
ALTER TABLE "feed_recaps_state" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
22-
ALTER TABLE "feed_recaps_state" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
26+
ALTER TABLE "feed_recaps_state" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
2327
ALTER TABLE "feed_recaps_state" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
24-
ALTER TABLE "feeds" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
28+
29+
ALTER TABLE "feeds" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
2530
ALTER TABLE "feeds" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
26-
ALTER TABLE "feeds" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
31+
ALTER TABLE "feeds" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
2732
ALTER TABLE "feeds" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
28-
ALTER TABLE "twitter_cache" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
33+
34+
ALTER TABLE "twitter_cache" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
2935
ALTER TABLE "twitter_cache" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
30-
ALTER TABLE "twitter_cache" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
36+
ALTER TABLE "twitter_cache" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
3137
ALTER TABLE "twitter_cache" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
32-
ALTER TABLE "twitter_cookies" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
38+
39+
ALTER TABLE "twitter_cookies" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
3340
ALTER TABLE "twitter_cookies" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
34-
ALTER TABLE "twitter_cookies" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
41+
ALTER TABLE "twitter_cookies" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
3542
ALTER TABLE "twitter_cookies" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
36-
ALTER TABLE "submission_counts" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
43+
44+
ALTER TABLE "submission_counts" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
3745
ALTER TABLE "submission_counts" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
38-
ALTER TABLE "submission_counts" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
46+
ALTER TABLE "submission_counts" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
3947
ALTER TABLE "submission_counts" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
40-
ALTER TABLE "submission_feeds" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
48+
49+
ALTER TABLE "submission_feeds" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
4150
ALTER TABLE "submission_feeds" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
42-
ALTER TABLE "submission_feeds" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
51+
ALTER TABLE "submission_feeds" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
4352
ALTER TABLE "submission_feeds" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
44-
ALTER TABLE "submissions" ALTER COLUMN "submitted_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
45-
ALTER TABLE "submissions" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
53+
54+
ALTER TABLE "submissions" ALTER COLUMN "submitted_at" SET DATA TYPE timestamp with time zone USING submitted_at::timestamp with time zone;--> statement-breakpoint
55+
ALTER TABLE "submissions" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
4656
ALTER TABLE "submissions" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
47-
ALTER TABLE "submissions" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
57+
ALTER TABLE "submissions" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
4858
ALTER TABLE "submissions" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
49-
ALTER TABLE "users" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
59+
60+
ALTER TABLE "users" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
5061
ALTER TABLE "users" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
51-
ALTER TABLE "users" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
62+
ALTER TABLE "users" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
5263
ALTER TABLE "users" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
53-
ALTER TABLE "plugins" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
64+
65+
ALTER TABLE "plugins" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
5466
ALTER TABLE "plugins" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
55-
ALTER TABLE "plugins" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
67+
ALTER TABLE "plugins" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
5668
ALTER TABLE "plugins" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint
57-
ALTER TABLE "moderation_history" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
69+
70+
ALTER TABLE "moderation_history" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone USING created_at::timestamp with time zone;--> statement-breakpoint
5871
ALTER TABLE "moderation_history" ALTER COLUMN "created_at" SET DEFAULT now();--> statement-breakpoint
59-
ALTER TABLE "moderation_history" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
60-
ALTER TABLE "moderation_history" ALTER COLUMN "updated_at" SET DEFAULT now();
72+
ALTER TABLE "moderation_history" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone USING updated_at::timestamp with time zone;--> statement-breakpoint
73+
ALTER TABLE "moderation_history" ALTER COLUMN "updated_at" SET DEFAULT now();--> statement-breakpoint

0 commit comments

Comments
 (0)