November: 5th
-
09:45AM
Docs
Decided to make a quick repo for the microbot community. It was a great refresh for operating inside my own repo without having to deal with a monorepo? Without that extra layer, it does make things so much easier to build and quickly deploy.
-
11:40AM
Election
The day of the year is finally here and I can not wait until the day is over. There is going to be a nice release of all that political gunk stuck in everyones mind, its post election nut clarity.
-
01:07PM
Supabase
Table structure is currently:
user_cardsuser_cards_publicuser_profiles
With the
user_cards_publicbeing a materialized view, so we will not have to worry too much about it.Trigger structure, there are two areas that we need to process for the triggers, the
authschema and thepublicschema. Under theauthschema, we only have theon_auth_new_card_createdtrigger active but that will be disabled in this next query. The bigger concern will be under the public schema, where we have 4 more triggers!handle_user_card_update- under tableuser_cardswith functionhandle_user_card_updatehandle_user_cards_update- under tableuser_cardswith functionmoddatetimehandle_user_profile_update- under tableuser_profileswith functionhandle_profile_updatehandle_user_profiles_update- under tableuser_profileswith functionmoddatetime
Finally we have the database functions, which are split into into the two schemas again,
authandpublic. Under thepublic, we have:before_insert_hcaptcha_verficationwith 0 arguements, a return type of trigger and security of invoker.create_user_profile- with_usernameas text, a return type of void and a security definer.