[{"data":1,"prerenderedAt":1561},["ShallowReactive",2],{"blog-en-operator-does-not-exist-uuid-text":3,"blog-index-en":937},{"id":4,"title":5,"body":6,"category":897,"cover":898,"coverAlt":899,"description":900,"draft":901,"extension":902,"faq":903,"image":919,"keywords":920,"meta":926,"navigation":927,"ogTitle":5,"path":928,"published":929,"seo":930,"stem":931,"tldr":932,"updated":929,"__hash__":936},"blog_en\u002Fblog\u002Foperator-does-not-exist-uuid-text.md","Supabase \"operator does not exist: uuid = text\" in a policy",{"type":7,"value":8,"toc":884},"minimark",[9,13,24,39,46,51,58,88,97,192,203,209,218,232,239,247,260,264,275,278,322,338,346,351,355,361,428,432,438,444,471,483,489,492,507,511,517,524,529,535,557,563,566,628,645,648,652,658,683,689,699,703,710,716,731,738,742,745,754,768,773,782,802,807,816,821,825,877],[10,11,12],"p",{},"You asked your builder to make sure each customer sees only their own orders.\nIt wrote a policy, ran it, and the migration stopped with this:",[14,15,20],"pre",{"className":16,"code":18,"language":19},[17],"language-text","ERROR:  operator does not exist: uuid = text\nHINT:  No operator matches the given name and argument types. You might need to add explicit type casts.\n","text",[21,22,18],"code",{"__ignoreMap":23},"",[10,25,26,27,30,31,34,35,38],{},"Supabase \"operator does not exist: uuid = text\" means Postgres was asked to\ncompare two values of different types, a uuid and a piece of text, and it has no\nrule for comparing those two. So it refused, and the policy was never created.\nIn a policy written as ",[21,28,29],{},"auth.uid() = user_id",", the uuid is ",[21,32,33],{},"auth.uid()",", the\nsigned-in user's id, and the text is your ",[21,36,37],{},"user_id"," column.",[10,40,41,42,45],{},"There are two ways to make the message go away. Make both sides the same type,\nand the policy compares ids the way you meant it to. Take the comparison out, as\nin ",[21,43,44],{},"using (true)",", and the policy saves because it no longer compares anything:\nevery row passes, for every visitor the policy applies to.",[47,48,50],"h2",{"id":49},"what-does-operator-does-not-exist-uuid-text-mean","What does \"operator does not exist: uuid = text\" mean?",[10,52,53,54,57],{},"It means Postgres found no ",[21,55,56],{},"="," that takes a uuid on one side and text on the\nother, so it stopped before running the statement. Nothing was created and no\nrow changed.",[10,59,60,61,64,65,68,69,72,73,76,77,80,81,87],{},"A uuid is an id in one fixed shape: 32 characters from ",[21,62,63],{},"0"," to ",[21,66,67],{},"9"," and ",[21,70,71],{},"a"," to\n",[21,74,75],{},"f",", in five groups, such as ",[21,78,79],{},"3f2b8c1e-9a4d-4e7b-b1c2-5d6e7f8a9b0c",". Text is any\ncharacters at all. Postgres keeps them as separate types and will not decide by\nitself that a piece of text was meant as an id. Its\n",[71,82,86],{"href":83,"rel":84},"https:\u002F\u002Fwww.postgresql.org\u002Fdocs\u002Fcurrent\u002Fsql-createcast.html",[85],"nofollow","page on casts","\nputs it this way: \"The automatic casts to string types are treated as assignment\ncasts, while the automatic casts from string types are explicit-only.\" In\npractice, Postgres turns a uuid into text when you store one in a text column,\nturns text into a uuid only when you ask, and inside a comparison does neither.",[10,89,90,91,93,94,96],{},"Picture the policy as a guard at the door of the table, checking each row\nagainst the visitor. ",[21,92,33],{}," hands the guard the visitor's pass, with the\nid printed on it. Your ",[21,95,37],{}," column has each row's owner written in by hand.\nThe guard will not hold a printed pass against handwriting and decide the two\nlook alike, so it turns the job down.",[98,99,100,116],"table",{},[101,102,103],"thead",{},[104,105,106,110,113],"tr",{},[107,108,109],"th",{},"Part",[107,111,112],{},"What you see",[107,114,115],{},"What it tells you",[117,118,119,141,163,176],"tbody",{},[104,120,121,125,130],{},[122,123,124],"td",{},"Message",[122,126,127],{},[21,128,129],{},"operator does not exist: uuid = text",[122,131,132,133,135,136,138,139],{},"The type on the left of ",[21,134,56],{},", then the type on the right. In ",[21,137,29],{},", the left is ",[21,140,33],{},[104,142,143,146,151],{},[122,144,145],{},"Code",[122,147,148],{},[21,149,150],{},"42883",[122,152,153,154,157,158],{},"Postgres's code for this error, named ",[21,155,156],{},"undefined_function"," in ",[71,159,162],{"href":160,"rel":161},"https:\u002F\u002Fgithub.com\u002Fpostgres\u002Fpostgres\u002Fblob\u002Fmaster\u002Fsrc\u002Fbackend\u002Futils\u002Ferrcodes.txt",[85],"its list of codes",[104,164,165,168,173],{},[122,166,167],{},"Hint",[122,169,170],{},[21,171,172],{},"You might need to add explicit type casts.",[122,174,175],{},"Postgres's own advice: convert one side, so both are the same type",[104,177,178,181,186],{},[122,179,180],{},"Swapped",[122,182,183],{},[21,184,185],{},"operator does not exist: text = uuid",[122,187,188,189],{},"The same error with the column written first, as in ",[21,190,191],{},"user_id = auth.uid()",[10,193,194,196,197,202],{},[21,195,33],{}," reads the user id out of the visitor's sign-in token and converts\nit to a uuid before returning it, as\n",[71,198,201],{"href":199,"rel":200},"https:\u002F\u002Fgithub.com\u002Fsupabase\u002Fauth\u002Fblob\u002Fmaster\u002Fmigrations\u002F20211202183645_update_auth_uid.up.sql",[85],"its definition","\nshows. So the column it is compared with has to be a uuid as well, or the\ncomparison has to be made as text on purpose.",[204,205],"diagram",{"alt":206,"caption":207,"src":208},"Three rows. In the first, a printed pass marked auth.uid() faces a handwritten tag marked user_id across an amber broken equals sign, and the row ends at an amber plate reading 42883. In the second, both sides are handwritten tags and the row ends in a tick. In the third, both sides are printed passes and the row ends in a tick.","A uuid and text cannot be compared. Write the pass out by hand on both sides, or print both, and the comparison goes through.","\u002Fblog\u002Foperator-does-not-exist-uuid-text\u002Fpass-against-handwriting-1600x880.png",[10,210,211,212,217],{},"If Row Level Security is already on for that table and this was to be its first\npolicy, the table has no policy at all yet. Postgres's\n",[71,213,216],{"href":214,"rel":215},"https:\u002F\u002Fwww.postgresql.org\u002Fdocs\u002Fcurrent\u002Fsql-createpolicy.html",[85],"documentation","\ncalls that a \"default deny\" policy, \"so that no rows will be visible or\nupdatable\". Your app shows empty lists to everyone, the people the rows belong to\nincluded.",[10,219,220,221,224,225,228,229,231],{},"The same message turns up anywhere a uuid meets text: a policy that looks the\nvisitor up in another table, such as ",[21,222,223],{},"members.user_id = auth.uid()",", a join\nbetween a uuid ",[21,226,227],{},"profiles.id"," and a text ",[21,230,37],{},", or a function that does\neither.",[10,233,234,235,238],{},"To see which type your column is, run this in the SQL Editor, with your own\ntable's name in place of ",[21,236,237],{},"orders",":",[14,240,245],{"className":241,"code":243,"language":244,"meta":23},[242],"language-sql","select column_name, data_type\nfrom information_schema.columns\nwhere table_schema = 'public'\n  and table_name = 'orders'\n  and column_name = 'user_id';\n","sql",[21,246,243],{"__ignoreMap":23},[10,248,249,251,252,255,256,259],{},[21,250,19],{}," in the second column confirms it. Then look at a few values with\n",[21,253,254],{},"select user_id from public.orders limit 5;",". Ids in the five-group shape are\nSupabase user ids saved as text. Ids such as ",[21,257,258],{},"user_2abc…"," come from Clerk, which\nkeeps its ids as text by design. Which of the two you see decides the fix.",[47,261,263],{"id":262},"why-not-loosen-the-policy-until-it-saves","Why not loosen the policy until it saves?",[10,265,266,267,270,271,274],{},"Because a policy that saves without comparing ids lets everyone it names read\nevery row. Postgres's rule for the ",[21,268,269],{},"using"," part of a policy is that \"Rows for\nwhich the expression returns true will be visible\", and ",[21,272,273],{},"true"," is true for every\nrow.",[10,276,277],{},"Each way of taking the comparison out opens the table to a different group:",[98,279,280,290],{},[101,281,282],{},[104,283,284,287],{},[107,285,286],{},"The policy that saves",[107,288,289],{},"Who can then read every row",[117,291,292,302,312],{},[104,293,294,299],{},[122,295,296],{},[21,297,298],{},"to anon using (true)",[122,300,301],{},"every visitor who is not signed in, with the publishable key your app already gives them",[104,303,304,309],{},[122,305,306],{},[21,307,308],{},"to authenticated using (true)",[122,310,311],{},"every signed-in user, which on an app with open sign-up is anyone who makes an account",[104,313,314,319],{},[122,315,316],{},[21,317,318],{},"using (auth.uid() is not null)",[122,320,321],{},"the same: every signed-in user",[10,323,324,325,330,331,334,335,337],{},"Supabase's own\n",[71,326,329],{"href":327,"rel":328},"https:\u002F\u002Fsupabase.com\u002Fdocs\u002Fguides\u002Fdatabase\u002Fpostgres\u002Frow-level-security",[85],"guide to Row Level Security","\nshows ",[21,332,333],{},"using ( true )"," for a profiles table that everybody may read, and says of\nit: \"Use it only for data that is meant to be public.\" Orders, messages and\nanything else that belongs to one person are not that. On the door, a ",[21,336,273],{},"\npolicy sends the guard home.",[10,339,340,341,345],{},"Switching Row Level Security off for the table makes the error go away as well,\nbecause no policy is checked at all.\n",[71,342,344],{"href":343},"\u002Fblog\u002Fenable-rls-on-every-supabase-table","Switching it on for every table","\ncovers how to turn it back on and prove that it holds.",[204,347],{"alt":348,"caption":349,"src":350},"Two rows. In the top row, under using (true) in amber, three visitors, one of them not signed in, pass an open amber lock and reach a stack of five rows that are all lit amber. In the bottom row, under auth.uid()::text = user_id, one signed-in visitor passes a closed teal lock and two of the five rows light up, while a visitor who is not signed in stops at the lock.","using (true) saves, and every visitor it names gets every row. A comparison that saves gives each visitor their own.","\u002Fblog\u002Foperator-does-not-exist-uuid-text\u002Fevery-row-or-their-own-1600x760.png",[47,352,354],{"id":353},"how-do-i-fix-operator-does-not-exist-uuid-text","How do I fix \"operator does not exist: uuid = text\"?",[10,356,357,358,360],{},"Make both sides the same type. What your ",[21,359,37],{}," column holds tells you which\nof three ways to do it:",[98,362,363,379],{},[101,364,365],{},[104,366,367,373,376],{},[107,368,369,370,372],{},"What ",[21,371,37],{}," holds",[107,374,375],{},"The fix",[107,377,378],{},"What changes",[117,380,381,395,411],{},[104,382,383,386,392],{},[122,384,385],{},"Supabase user ids, and you want the smallest change today",[122,387,388,389,391],{},"Cast ",[21,390,33],{}," to text in the policy",[122,393,394],{},"One line of the policy",[104,396,397,400,406],{},[122,398,399],{},"Supabase user ids, and you want it right for good",[122,401,402,403],{},"Change the column to ",[21,404,405],{},"uuid",[122,407,408,409],{},"The column's type, and the policy is written as ",[21,410,29],{},[104,412,413,416,422],{},[122,414,415],{},"Ids from Clerk or another sign-in service",[122,417,418,419],{},"Compare ",[21,420,421],{},"auth.jwt() ->> 'sub'",[122,423,424,425,427],{},"One line of the policy. ",[21,426,33],{}," cannot read those ids",[47,429,431],{"id":430},"cast-authuid-to-text","Cast auth.uid() to text",[10,433,434,435,437],{},"Convert the side that is always a uuid. Postgres writes a uuid out in one fixed\nform, so ",[21,436,33],{}," turned into text gives the same characters every time:",[14,439,442],{"className":440,"code":441,"language":244,"meta":23},[242],"create policy \"Customers read their own orders\"\non public.orders for select\nto authenticated\nusing ( (select auth.uid())::text = user_id );\n",[21,443,441],{"__ignoreMap":23},[10,445,446,449,450,453,454,456,457,461,462,465,466,470],{},[21,447,448],{},"::text"," is Postgres's short way to write a cast. The ",[21,451,452],{},"(select …)"," around\n",[21,455,33],{}," is the form Supabase's guide recommends inside a policy, because it\nlets Postgres work the value out once per query rather than once per row. On a\nlarge table, a function called for every row is one way a read\n",[71,458,460],{"href":459},"\u002Fblog\u002Fcanceling-statement-due-to-statement-timeout","runs out of time",".\nA policy that lets people add or edit rows needs the same cast in its\n",[21,463,464],{},"with check"," line, the half that judges new rows\n(",[71,467,469],{"href":468},"\u002Fblog\u002Fnew-row-violates-row-level-security-policy","what with check does","), or it\nstops with the same error.",[10,472,473,474,479,480,482],{},"This matches only ids saved the way Postgres writes them. Its\n",[71,475,478],{"href":476,"rel":477},"https:\u002F\u002Fwww.postgresql.org\u002Fdocs\u002Fcurrent\u002Fdatatype-uuid.html",[85],"documentation on the uuid type","\nsays the output \"is always in the standard form\": lower-case letters, in groups\nof 8, 4, 4, 4 and 12. A ",[21,481,37],{}," saved in capitals or without its dashes is\nstill the same id to a person, but as text it is a different string, and that\nrow is hidden from its own owner. This lists any row saved another way:",[14,484,487],{"className":485,"code":486,"language":244,"meta":23},[242],"select user_id\nfrom public.orders\nwhere user_id !~ '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';\n",[21,488,486],{"__ignoreMap":23},[10,490,491],{},"No rows back means every id is in the form the cast produces.",[10,493,494,495,498,499,501,502,506],{},"The cast can go on the other side, ",[21,496,497],{},"auth.uid() = user_id::uuid",", and the policy\nsaves that way too. Then Postgres converts every row's ",[21,500,37],{}," as it reads it,\nand one value that is not a uuid, a test row or an empty string, stops the\nwhole read with\n",[71,503,505],{"href":504},"\u002Fblog\u002Finvalid-input-syntax-for-type-uuid","invalid input syntax for type uuid",",\nfor every visitor whose read reaches that row. On the door, the guard now has to\nreprint each handwritten name as a pass before checking it, and the first name\nthat will not print stops the queue.",[47,508,510],{"id":509},"change-the-column-to-uuid","Change the column to uuid",[10,512,513,514,516],{},"If every value is a Supabase user id, give the column the type it holds. Then\n",[21,515,29],{}," compares like with like, and Postgres refuses any new\nvalue that is not written as a uuid before it is saved.",[10,518,519,520,523],{},"Postgres will not change the type of a column that a policy uses. It stops with\n",[21,521,522],{},"cannot alter type of a column used in a policy definition"," and a detail line\nnaming the policy. So the change is three steps: drop the policies that mention\nthe column, change the type, and create the policies again.",[10,525,526,527,238],{},"First list the table's policies and copy any that mention ",[21,528,37],{},[14,530,533],{"className":531,"code":532,"language":244,"meta":23},[242],"select policyname, cmd, qual, with_check\nfrom pg_policies\nwhere schemaname = 'public' and tablename = 'orders';\n",[21,534,532],{"__ignoreMap":23},[10,536,537,540,541,543,544,547,548,550,551,68,554,238],{},[21,538,539],{},"qual"," is each policy's ",[21,542,269],{}," rule and ",[21,545,546],{},"with_check"," its ",[21,549,464],{}," rule.\nThen run the three steps together, between ",[21,552,553],{},"begin",[21,555,556],{},"commit",[14,558,561],{"className":559,"code":560,"language":244,"meta":23},[242],"begin;\n\ndrop policy \"Customers read their own orders\" on public.orders;\n\nalter table public.orders\n  alter column user_id type uuid using user_id::uuid;\n\ncreate policy \"Customers read their own orders\"\non public.orders for select\nto authenticated\nusing ( (select auth.uid()) = user_id );\n\ncommit;\n",[21,562,560],{"__ignoreMap":23},[10,564,565],{},"Four things can stop it:",[567,568,569,588,610,622],"ul",{},[570,571,572,579,580,583,584,587],"li",{},[573,574,575,576,578],"strong",{},"No ",[21,577,269],{}," clause."," Without ",[21,581,582],{},"using user_id::uuid",", Postgres answers\n",[21,585,586],{},"column \"user_id\" cannot be cast automatically to type uuid",", and its hint is\nthat same clause.",[570,589,590,593,594,597,598,601,602,605,606,609],{},[573,591,592],{},"A default written as text."," A column with a default such as\n",[21,595,596],{},"auth.uid()::text"," stops the change with\n",[21,599,600],{},"default for column \"user_id\" cannot be cast automatically to type uuid",". Add\n",[21,603,604],{},"alter table public.orders alter column user_id drop default;"," before the\nchange and ",[21,607,608],{},"alter table public.orders alter column user_id set default auth.uid();","\nafter it.",[570,611,612,615,616,618,619,621],{},[573,613,614],{},"A value that is not a uuid."," The change stops with invalid input syntax for\ntype uuid and quotes the value. Because everything runs between ",[21,617,553],{}," and\n",[21,620,556],{},", nothing is altered, the dropped policies included. The query in the\nsection above lists the rows to look at first.",[570,623,624,627],{},[573,625,626],{},"A policy you did not drop."," The detail line names it. Add it to the block\nand run it again.",[10,629,630,631,636,637,639,640,644],{},"Postgres rewrites the whole table and its indexes to change a column's type,\nsays its\n",[71,632,635],{"href":633,"rel":634},"https:\u002F\u002Fwww.postgresql.org\u002Fdocs\u002Fcurrent\u002Fsql-altertable.html",[85],"page on ALTER TABLE",",\nand while it does, it holds the lock that, in its own words, \"guarantees that\nthe holder is the only transaction accessing the table in any way\". Your app's\nreads of that table wait until the ",[21,638,556],{},". On a table with many rows, run it\nwhen few people are using the app, and\n",[71,641,643],{"href":642},"\u002Fblog\u002Fback-up-supabase-free-tier","make a copy of the database"," first, because\nevery row of the table is written again.",[10,646,647],{},"If you build by prompting, ask for it in one sentence: \"Change orders.user_id to\nuuid in one migration: drop the policies that use it, alter the column using\nuser_id::uuid, and create the same policies again with (select auth.uid()) =\nuser_id.\"",[47,649,651],{"id":650},"when-the-ids-come-from-clerk-or-another-sign-in-service","When the ids come from Clerk or another sign-in service",[10,653,654,655,657],{},"Keep the column as text and compare it with the user id from the sign-in token,\nalso as text: ",[21,656,421],{},".",[10,659,660,662,663,666,667,669,670,675,676,678,679,682],{},[21,661,33],{}," converts the token's id to a uuid, and Clerk's ids, which start with\n",[21,664,665],{},"user_",", are not uuids. So a policy that calls ",[21,668,33],{}," for a Clerk user\nfails with invalid input syntax for type uuid.\n",[71,671,674],{"href":672,"rel":673},"https:\u002F\u002Fclerk.com\u002Fdocs\u002Fguides\u002Fdevelopment\u002Fintegrations\u002Fdatabases\u002Fsupabase",[85],"Clerk's guide to Supabase","\nkeeps ",[21,677,37],{}," as text, with ",[21,680,681],{},"default auth.jwt()->>'sub'",", and writes its\npolicies to match:",[14,684,687],{"className":685,"code":686,"language":244,"meta":23},[242],"create policy \"Customers read their own orders\"\non public.orders for select\nto authenticated\nusing ( (select auth.jwt() ->> 'sub') = user_id );\n",[21,688,686],{"__ignoreMap":23},[10,690,691,694,695,698],{},[21,692,693],{},"auth.jwt()"," returns the claims in the visitor's sign-in token, and ",[21,696,697],{},"->> 'sub'","\ntakes the user id out of them as text. Both sides are text, and nothing needs\nconverting.",[47,700,702],{"id":701},"how-do-i-test-the-policy-as-a-user","How do I test the policy as a user?",[10,704,705,706,709],{},"Run the read as a signed-in user inside a transaction, then roll it back.\nSupabase's guide tests policies this way, by switching the role and the user's\nidentity for the length of the transaction. Copy a real user id from\n",[573,707,708],{},"Authentication → Users"," in your dashboard:",[14,711,714],{"className":712,"code":713,"language":244,"meta":23},[242],"begin;\nset local role authenticated;\nset local request.jwt.claims to '{\"role\":\"authenticated\", \"sub\":\"PASTE-A-USER-ID\"}';\nselect * from public.orders;\nrollback;\n",[21,715,713],{"__ignoreMap":23},[10,717,718,68,720,722,723,726,727,730],{},[21,719,33],{},[21,721,693],{}," both read the user id from ",[21,724,725],{},"request.jwt.claims",",\nso this works for every policy in this post. Run it with two different users:\neach should get only their own orders. Then write ",[21,728,729],{},"set local role anon;",", leave\nout the claims line, and a private table should give back no rows at all.",[10,732,733,734,657],{},"That shows what your rules do for a signed-in user. What your live app hands to\na visitor with no login can be seen from outside. Our free scan asks each table\nyour app's code names how many rows that visitor can count, reads only the\nnumber, and takes about 20 seconds with no account.\n",[71,735,737],{"href":736},"\u002Fsecurity-scanner","Scan your app",[47,739,741],{"id":740},"keeping-the-rows-private-after-the-next-migration","Keeping the rows private after the next migration",[10,743,744],{},"A policy can change every time you or your builder run a migration, and a type\nchange like the one above writes every row of the table again. Two things keep\nan eye on it afterwards:",[10,746,747],{},[573,748,749,753],{},[71,750,752],{"href":751},"\u002Fwebsite-monitoring","Reeve Monitor"," keeps checking from outside:",[567,755,756,759,762,765],{},[570,757,758],{},"the full security check every hour, including how many rows a visitor with no login can count in the tables your app reads",[570,760,761],{},"whether your app answers, every 60 seconds, and up to 10 more pages you choose",[570,763,764],{},"an alert by email, Telegram, Slack or webhook when the app goes down or a page breaks",[570,766,767],{},"a monthly report on your app, written for you",[10,769,770],{},[71,771,772],{"href":751},"See what Monitor checks",[10,774,775],{},[573,776,777,781],{},[71,778,780],{"href":779},"\u002Fsupabase-backups","Reeve Care"," keeps a copy of your Supabase database:",[567,783,784,787,790,793,796,799],{},[570,785,786],{},"an encrypted copy on a schedule, on Reeve's own storage in the EU, outside your Supabase account",[570,788,789],{},"the last copy before you change a column's type holds the table as it was, rows included",[570,791,792],{},"each copy verified before it counts, by counting the rows in every table",[570,794,795],{},"your uploaded files as well, once you connect a Storage credential",[570,797,798],{},"a one-click restore, with a safety copy of the current state taken first",[570,800,801],{},"everything Monitor does",[10,803,804],{},[71,805,806],{"href":779},"See what Care keeps",[10,808,809,815],{},[573,810,811,814],{},[71,812,813],{"href":736},"The free scan"," shows what a visitor with no login can\ncount in your tables today."," About 20 seconds, and no account.",[10,817,818],{},[71,819,820],{"href":736},"Scan your app free in 20 seconds",[47,822,824],{"id":823},"what-to-do-now","What to do now",[826,827,828],"key-takeaways",{},[567,829,830,835,845,854,860,870],{},[570,831,832,833,657],{},"Read the two types in the message. The first is the left side of your ",[21,834,56],{},[570,836,837,838,840,841,844],{},"Check what ",[21,839,37],{}," holds: Supabase ids in five groups, or ids such as ",[21,842,843],{},"user_…"," from Clerk.",[570,846,847,848,850,851,657],{},"For Supabase ids, change the column to ",[21,849,405],{}," in one transaction, or write ",[21,852,853],{},"(select auth.uid())::text = user_id",[570,855,856,857,657],{},"For Clerk ids, write ",[21,858,859],{},"(select auth.jwt() ->> 'sub') = user_id",[570,861,862,863,865,866,869],{},"Never make a policy save with ",[21,864,44],{}," or ",[21,867,868],{},"auth.uid() is not null"," on a table that holds people's own rows.",[570,871,872,873,876],{},"Test the policy as two users and as ",[21,874,875],{},"anon"," before you rely on it.",[10,878,879,880,883],{},"Start with the column's type, because it decides which fix is right. If you\nchange it, ",[71,881,882],{"href":779},"keep a copy of the database"," from before the\nchange.",{"title":23,"searchDepth":885,"depth":885,"links":886},3,[887,889,890,891,892,893,894,895,896],{"id":49,"depth":888,"text":50},2,{"id":262,"depth":888,"text":263},{"id":353,"depth":888,"text":354},{"id":430,"depth":888,"text":431},{"id":509,"depth":888,"text":510},{"id":650,"depth":888,"text":651},{"id":701,"depth":888,"text":702},{"id":740,"depth":888,"text":741},{"id":823,"depth":888,"text":824},"Security basics","\u002Fblog\u002Foperator-does-not-exist-uuid-text\u002Fcover-1200x630.png","A printed pass on a lanyard and a handwritten paper tag held side by side, with a broken equals sign in amber between them.","Supabase \"operator does not exist: uuid = text\": auth.uid() is a uuid and your column is text. Make them match, and never loosen the policy.",false,"md",[904,907,910,913,916],{"q":905,"a":906},"What does operator does not exist: uuid = text mean?","It means Postgres was asked to compare a uuid with a piece of text and has no = for that pair, so it refused the statement before running it. In a Supabase policy written as auth.uid() = user_id, auth.uid() returns a uuid and the user_id column is text. The code is 42883, and the policy was not created.",{"q":908,"a":909},"Should I cast auth.uid() or the column?","Cast auth.uid(), as in (select auth.uid())::text = user_id. Casting the column, user_id::uuid, converts every row as Postgres reads it, and one value that is not a uuid makes the read fail with invalid input syntax for type uuid. If every value in the column is a Supabase user id, changing the column to uuid is the lasting fix.",{"q":911,"a":912},"Can I use using (true) to make the policy save?","It saves because it no longer compares anything, so every row passes for every visitor the policy names. Supabase's guide shows it for a table everybody may read and says to use it only for data that is meant to be public. For a table of people's own rows, make the two types match instead.",{"q":914,"a":915},"How do I change a Supabase column from text to uuid?","In one transaction: drop the policies that mention the column, run alter table … alter column user_id type uuid using user_id::uuid, then create the policies again. Postgres will not change the type of a column a policy uses, and the using clause tells it how to convert the values. A value that is not a uuid stops the change, and nothing is altered.",{"q":917,"a":918},"Why does auth.uid() fail with Clerk user ids?","Because auth.uid() converts the user id in the sign-in token to a uuid, and Clerk ids, which start with user_, are not uuids. Keep the column as text and compare (select auth.jwt() ->> 'sub') = user_id, which is how Clerk's own Supabase guide writes its policies.","\u002Fblog\u002Foperator-does-not-exist-uuid-text\u002Fcard-800x500.png",[129,921,185,922,923,924,925],"operator does not exist uuid text supabase","supabase rls uuid text cast","auth.uid() text column","supabase change column type to uuid","postgres 42883",{},true,"\u002Fblog\u002Foperator-does-not-exist-uuid-text","2026-11-24",{"title":5,"description":900},"blog\u002Foperator-does-not-exist-uuid-text",[933,934,935],"Supabase \"operator does not exist: uuid = text\" (Postgres code 42883) means a policy compares auth.uid(), which returns a uuid, with a column stored as text. Postgres has no = for that pair, so the policy is never created.","If the column holds Supabase user ids, change it to uuid, or write (select auth.uid())::text = user_id. If it holds ids from Clerk or another sign-in service, compare auth.jwt() ->> 'sub' instead.","Do not make the policy save by taking the comparison out. using (true) passes every row to every visitor the policy names, and Supabase's guide says to use it only for data that is meant to be public.","XTZuyeu_HP1-5OXfGzUoEnho5V2-yK1x_XcwUcDXTn0",[938,944,945,951,957,963,969,975,981,988,994,1000,1006,1012,1018,1024,1030,1036,1042,1048,1054,1060,1066,1072,1078,1084,1089,1095,1101,1107,1113,1119,1124,1130,1136,1142,1148,1154,1160,1166,1172,1178,1184,1190,1196,1202,1208,1214,1220,1226,1232,1238,1244,1250,1256,1262,1268,1274,1280,1286,1292,1298,1303,1309,1315,1321,1327,1333,1339,1345,1351,1357,1363,1369,1375,1381,1387,1393,1398,1404,1410,1416,1422,1428,1434,1440,1446,1452,1458,1463,1469,1475,1480,1486,1492,1498,1504,1510,1516,1522,1527,1533,1539,1545,1550,1556],{"path":939,"title":940,"description":941,"published":942,"category":897,"image":943,"draft":901},"\u002Fblog\u002Fviolates-check-constraint","\"new row for relation violates check constraint\" in Supabase","Supabase \"violates check constraint\": a value in the row broke a rule on the table. How to read the rule, and why you should keep it.","2026-11-25","\u002Fblog\u002Fviolates-check-constraint\u002Fcard-800x500.png",{"path":928,"title":5,"description":900,"published":929,"category":897,"image":919,"draft":901},{"path":946,"title":947,"description":948,"published":949,"category":897,"image":950,"draft":901},"\u002Fblog\u002Fcould-not-find-a-relationship-between","Supabase PGRST200: \"Could not find a relationship between\"","Supabase \"Could not find a relationship between\" means no foreign key links the two tables. Add one, use ! when there are two, and keep views under RLS.","2026-11-23","\u002Fblog\u002Fcould-not-find-a-relationship-between\u002Fcard-800x500.png",{"path":952,"title":953,"description":954,"published":955,"category":897,"image":956,"draft":901},"\u002Fblog\u002Fsupabase-only-returns-1000-rows","Supabase only returns 1000 rows: how to get the rest","Supabase only returns 1000 rows per request because of its Max rows setting. How to page through the rest, count them, and what the cap is there for.","2026-11-22","\u002Fblog\u002Fsupabase-only-returns-1000-rows\u002Fcard-800x500.png",{"path":958,"title":959,"description":960,"published":961,"category":897,"image":962,"draft":901},"\u002Fblog\u002Ferror-running-hook-uri","\"Error running hook URI\" in Supabase: why nobody can sign in","\"Error running hook URI\" means a Supabase Auth hook failed, so sign-in or sign-up fails for everyone. Where the real error is, and the safe fix.","2026-11-21","\u002Fblog\u002Ferror-running-hook-uri\u002Fcard-800x500.png",{"path":964,"title":965,"description":966,"published":967,"category":897,"image":968,"draft":901},"\u002Fblog\u002Fsupabase-realtime-channel-error","Supabase Realtime CHANNEL_ERROR: why a subscription gets nothing","Supabase Realtime CHANNEL_ERROR, or no events at all: usually a rule doing its job. How to read the reason and fix it without opening your data.","2026-11-20","\u002Fblog\u002Fsupabase-realtime-channel-error\u002Fcard-800x500.png",{"path":970,"title":971,"description":972,"published":973,"category":897,"image":974,"draft":901},"\u002Fblog\u002Ferr-ssl-version-or-cipher-mismatch","ERR_SSL_VERSION_OR_CIPHER_MISMATCH on a new custom domain","ERR_SSL_VERSION_OR_CIPHER_MISMATCH on a domain you just connected: why the name has no certificate yet, and when to wait, go DNS only or shorten the name.","2026-11-19","\u002Fblog\u002Ferr-ssl-version-or-cipher-mismatch\u002Fcard-800x500.png",{"path":976,"title":977,"description":978,"published":979,"category":897,"image":980,"draft":901},"\u002Fblog\u002Fapplication-error-a-client-side-exception-has-occurred","\"Application error: a client-side exception has occurred\" in Next.js","Application error: a client-side exception has occurred on your v0 or Next.js app: where the real error is and how to fix it.","2026-11-18","\u002Fblog\u002Fapplication-error-a-client-side-exception-has-occurred\u002Fcard-800x500.png",{"path":982,"title":983,"description":984,"published":985,"category":986,"image":987,"draft":901},"\u002Fblog\u002Freplit-database-rollback","Replit database rollback: does a checkpoint bring your data back?","A Replit database rollback restores the development database only when you ask. Your live data has a restore of its own. Which one you need, and how.","2026-11-17","Backups","\u002Fblog\u002Freplit-database-rollback\u002Fcard-800x500.png",{"path":989,"title":990,"description":991,"published":992,"category":897,"image":993,"draft":901},"\u002Fblog\u002Fthe-object-exceeded-the-maximum-allowed-size","\"The object exceeded the maximum allowed size\" in Supabase Storage","\"The object exceeded the maximum allowed size\" means a Supabase Storage limit refused the file. Which of two limits did it, and how to raise it.","2026-11-16","\u002Fblog\u002Fthe-object-exceeded-the-maximum-allowed-size\u002Fcard-800x500.png",{"path":995,"title":996,"description":997,"published":998,"category":897,"image":999,"draft":901},"\u002Fblog\u002Fsignups-not-allowed-for-this-instance","\"Signups not allowed for this instance\" in Supabase","\"Signups not allowed for this instance\" is Supabase refusing new accounts. Which switch does it, and why hiding your sign-up form is not the same thing.","2026-11-15","\u002Fblog\u002Fsignups-not-allowed-for-this-instance\u002Fcard-800x500.png",{"path":1001,"title":1002,"description":1003,"published":1004,"category":897,"image":1005,"draft":901},"\u002Fblog\u002Fis-lovable-down-or-your-app","Is Lovable down, or is it your app? How to tell","Is Lovable down, or is it your app? Its editor, hosting and backend fail separately, and a paused backend looks like an outage. Here is how to tell.","2026-11-14","\u002Fblog\u002Fis-lovable-down-or-your-app\u002Fcard-800x500.png",{"path":1007,"title":1008,"description":1009,"published":1010,"category":897,"image":1011,"draft":901},"\u002Fblog\u002Ffailed-to-load-module-script","\"Failed to load module script\": the blank page after a deploy","Failed to load module script and a blank page after a deploy: how to tell if one visitor or every visitor sees it, and the fix for each case.","2026-11-13","\u002Fblog\u002Ffailed-to-load-module-script\u002Fcard-800x500.png",{"path":1013,"title":1014,"description":1015,"published":1016,"category":897,"image":1017,"draft":901},"\u002Fblog\u002Ferr-too-many-redirects","ERR_TOO_MANY_REDIRECTS on a custom domain behind Cloudflare","ERR_TOO_MANY_REDIRECTS after you put Cloudflare in front of your site: why the loop happens, and the fix that keeps your sign-ins encrypted.","2026-11-12","\u002Fblog\u002Ferr-too-many-redirects\u002Fcard-800x500.png",{"path":1019,"title":1020,"description":1021,"published":1022,"category":986,"image":1023,"draft":901},"\u002Fblog\u002Flovable-cloud-backup","Lovable Cloud backup: does Lovable back up your database?","A Lovable Cloud backup is taken daily and kept about 14 days, in the same backend as your data. What it holds, who can restore it, how to keep a copy.","2026-11-11","\u002Fblog\u002Flovable-cloud-backup\u002Fcard-800x500.png",{"path":1025,"title":1026,"description":1027,"published":1028,"category":897,"image":1029,"draft":901},"\u002Fblog\u002Fthis-site-cant-be-reached","\"This site can't be reached\" on your own domain: read the code","Your own site says \"This site can't be reached\". The code under the headline tells you whether the name, the host or the network failed, and what to fix.","2026-11-10","\u002Fblog\u002Fthis-site-cant-be-reached\u002Fcard-800x500.png",{"path":1031,"title":1032,"description":1033,"published":1034,"category":897,"image":1035,"draft":901},"\u002Fblog\u002Fmax-client-connections-reached","Supabase \"max client connections reached\", explained","Supabase \"max client connections reached\" means the pooler has no room for one more client. The port in your connection string decides the limit.","2026-11-09","\u002Fblog\u002Fmax-client-connections-reached\u002Fcard-800x500.png",{"path":1037,"title":1038,"description":1039,"published":1040,"category":897,"image":1041,"draft":901},"\u002Fblog\u002Funsupported-provider-provider-is-not-enabled","\"Unsupported provider: provider is not enabled\" in Supabase","\"Unsupported provider: provider is not enabled\" means Google sign-in is off in your Supabase project. How to turn it on, and fix redirect_uri_mismatch.","2026-11-08","\u002Fblog\u002Funsupported-provider-provider-is-not-enabled\u002Fcard-800x500.png",{"path":1043,"title":1044,"description":1045,"published":1046,"category":897,"image":1047,"draft":901},"\u002Fblog\u002Fviolates-foreign-key-constraint","\"violates foreign key constraint\" on insert in Supabase","Supabase \"insert or update on table violates foreign key constraint\": your row points at a row that is not there. Which one, why, and the fix.","2026-11-07","\u002Fblog\u002Fviolates-foreign-key-constraint\u002Fcard-800x500.png",{"path":1049,"title":1050,"description":1051,"published":1052,"category":897,"image":1053,"draft":901},"\u002Fblog\u002Fnull-value-violates-not-null-constraint","\"null value in column violates not-null constraint\" in Supabase","Supabase \"null value in column violates not-null constraint\": a required column arrived empty. Where the null came from, and the fix.","2026-11-06","\u002Fblog\u002Fnull-value-violates-not-null-constraint\u002Fcard-800x500.png",{"path":1055,"title":1056,"description":1057,"published":1058,"category":897,"image":1059,"draft":901},"\u002Fblog\u002Fauth-session-missing","Supabase \"Auth session missing!\": where the session went","\"Auth session missing!\" is supabase-js finding no signed-in session and stopping before it asks Supabase. Where the session went, and the fix for each.","2026-11-05","\u002Fblog\u002Fauth-session-missing\u002Fcard-800x500.png",{"path":1061,"title":1062,"description":1063,"published":1064,"category":897,"image":1065,"draft":901},"\u002Fblog\u002Finvalid-claim-missing-sub-claim","Supabase \"invalid claim: missing sub claim\": nobody is signed in","\"invalid claim: missing sub claim\" means Supabase Auth got a genuine token that names no user: your project key, sent where a session belongs.","2026-11-04","\u002Fblog\u002Finvalid-claim-missing-sub-claim\u002Fcard-800x500.png",{"path":1067,"title":1068,"description":1069,"published":1070,"category":897,"image":1071,"draft":901},"\u002Fblog\u002Ffailed-to-send-a-request-to-the-edge-function","\"Failed to send a request to the Edge Function\" in Supabase","\"Failed to send a request to the Edge Function\" means the browser got no reply it could read. Its console says why, and whether your function ran.","2026-11-03","\u002Fblog\u002Ffailed-to-send-a-request-to-the-edge-function\u002Fcard-800x500.png",{"path":1073,"title":1074,"description":1075,"published":1076,"category":897,"image":1077,"draft":901},"\u002Fblog\u002Fsupabase-auth-redirects-to-localhost","Why Supabase email links redirect to localhost:3000","A Supabase redirect to localhost:3000 means the Site URL was never changed, or your address is missing from Redirect URLs. The fix, and the wildcard to avoid.","2026-11-02","\u002Fblog\u002Fsupabase-auth-redirects-to-localhost\u002Fcard-800x500.png",{"path":1079,"title":1080,"description":1081,"published":1082,"category":897,"image":1083,"draft":901},"\u002Fblog\u002Femail-link-is-invalid-or-has-expired","Supabase \"Email link is invalid or has expired\" on a fresh link","On a link sent a minute ago, Supabase's \"Email link is invalid or has expired\" usually means a mail filter used it first. How to check and fix it.","2026-11-01","\u002Fblog\u002Femail-link-is-invalid-or-has-expired\u002Fcard-800x500.png",{"path":459,"title":1085,"description":1086,"published":1087,"category":897,"image":1088,"draft":901},"Supabase \"canceling statement due to statement timeout\", explained","Supabase \"canceling statement due to statement timeout\" means a query outran its role's limit, 3 seconds for a visitor. Check the RLS policy first.","2026-10-31","\u002Fblog\u002Fcanceling-statement-due-to-statement-timeout\u002Fcard-800x500.png",{"path":1090,"title":1091,"description":1092,"published":1093,"category":986,"image":1094,"draft":901},"\u002Fblog\u002Fdatabase-error-deleting-user","\"Database error deleting user\" in Supabase, and what goes with it","\"Database error deleting user\" in Supabase means your database refused the delete. The reason is in your logs, and the fix decides what else is deleted.","2026-10-30","\u002Fblog\u002Fdatabase-error-deleting-user\u002Fcard-800x500.png",{"path":1096,"title":1097,"description":1098,"published":1099,"category":897,"image":1100,"draft":901},"\u002Fblog\u002Fstripe-webhook-no-signatures-found","\"No signatures found matching the expected signature\" in Supabase","A Stripe webhook in a Supabase Edge Function that says \"No signatures found matching the expected signature\" has one of two causes. Never stop checking.","2026-10-29","\u002Fblog\u002Fstripe-webhook-no-signatures-found\u002Fcard-800x500.png",{"path":1102,"title":1103,"description":1104,"published":1105,"category":897,"image":1106,"draft":901},"\u002Fblog\u002Fsupabase-invalid-login","\"Invalid login credentials\" in Supabase: the three causes","Supabase says \"Invalid login credentials\" for a wrong password, an unknown email and a Google account. How to tell which, and why it is vague.","2026-10-28","\u002Fblog\u002Fsupabase-invalid-login\u002Fcard-800x500.png",{"path":1108,"title":1109,"description":1110,"published":1111,"category":897,"image":1112,"draft":901},"\u002Fblog\u002Fedge-function-returned-a-non-2xx-status-code","\"Edge Function returned a non-2xx status code\" in Supabase","\"Edge Function returned a non-2xx status code\" means your Supabase function answered with an error. Here is where to read the real one.","2026-10-27","\u002Fblog\u002Fedge-function-returned-a-non-2xx-status-code\u002Fcard-800x500.png",{"path":1114,"title":1115,"description":1116,"published":1117,"category":897,"image":1118,"draft":901},"\u002Fblog\u002Fcertificate-not-trusted","Certificate not trusted: the three causes besides expiry","Certificate not trusted, and the date is fine? It names another address, it signed itself, or its chain is missing a link. How to tell which.","2026-10-26","\u002Fblog\u002Fcertificate-not-trusted\u002Fcard-800x500.png",{"path":504,"title":1120,"description":1121,"published":1122,"category":897,"image":1123,"draft":901},"Supabase \"invalid input syntax for type uuid\": read the quotes","Supabase \"invalid input syntax for type uuid\" means your app sent something that is not an id. Read the quotes, hold the query, keep the column.","2026-10-25","\u002Fblog\u002Finvalid-input-syntax-for-type-uuid\u002Fcard-800x500.png",{"path":1125,"title":1126,"description":1127,"published":1128,"category":897,"image":1129,"draft":901},"\u002Fblog\u002Fduplicate-key-value-violates-unique-constraint","Supabase \"duplicate key value violates unique constraint\", explained","Supabase \"duplicate key value violates unique constraint\" means the value is already taken. Find the column, pick a fix, and keep the value off screen.","2026-10-24","\u002Fblog\u002Fduplicate-key-value-violates-unique-constraint\u002Fcard-800x500.png",{"path":1131,"title":1132,"description":1133,"published":1134,"category":897,"image":1135,"draft":901},"\u002Fblog\u002Fsupabase-relation-does-not-exist","Supabase \"relation does not exist\" when the table is right there","Supabase \"relation does not exist\" or PGRST205 means no table matches the name and schema your query used. Four checks, and what exposing a schema opens.","2026-10-23","\u002Fblog\u002Fsupabase-relation-does-not-exist\u002Fcard-800x500.png",{"path":1137,"title":1138,"description":1139,"published":1140,"category":897,"image":1141,"draft":901},"\u002Fblog\u002Fsupabase-function-not-found","Supabase PGRST202: \"Could not find the function in the schema cache\"","Supabase \"Could not find the function in the schema cache\" lists the argument names your app sent. Compare them with the function first.","2026-10-22","\u002Fblog\u002Fsupabase-function-not-found\u002Fcard-800x500.png",{"path":1143,"title":1144,"description":1145,"published":1146,"category":897,"image":1147,"draft":901},"\u002Fblog\u002Fsupabase-schema-cache-column-error","Supabase PGRST204: \"Could not find the column in the schema cache\"","Supabase \"Could not find the column in the schema cache\" usually means a name mismatch. Four checks in order, and the one-line reload.","2026-10-21","\u002Fblog\u002Fsupabase-schema-cache-column-error\u002Fcard-800x500.png",{"path":1149,"title":1150,"description":1151,"published":1152,"category":897,"image":1153,"draft":901},"\u002Fblog\u002Fsupabase-email-rate-limit-exceeded","Supabase \"Email Rate Limit Exceeded\": two limits, one error code","Supabase \"Email Rate Limit Exceeded\" caps every email your project sends: 2 an hour on the built-in sender. What it counts and how to lift it.","2026-10-20","\u002Fblog\u002Fsupabase-email-rate-limit-exceeded\u002Fcard-800x500.png",{"path":1155,"title":1156,"description":1157,"published":1158,"category":897,"image":1159,"draft":901},"\u002Fblog\u002Fsupabase-users-logged-out","Supabase \"Invalid Refresh Token: Refresh Token Not Found\": 3 causes","Supabase \"Invalid Refresh Token: Refresh Token Not Found\" logs your users out. Three causes, and how the auth log tells them apart.","2026-10-19","\u002Fblog\u002Fsupabase-users-logged-out\u002Fcard-800x500.png",{"path":1161,"title":1162,"description":1163,"published":1164,"category":897,"image":1165,"draft":901},"\u002Fblog\u002Fpermission-denied-for-schema-public","Supabase \"permission denied for schema public\": three causes","Supabase \"permission denied for schema public\" means a missing schema grant. What removed it, and the line that puts it back.","2026-10-18","\u002Fblog\u002Fpermission-denied-for-schema-public\u002Fcard-800x500.png",{"path":1167,"title":1168,"description":1169,"published":1170,"category":897,"image":1171,"draft":901},"\u002Fblog\u002Fsupabase-bucket-not-found","Supabase \"Bucket not found\": the three things it means","Supabase \"Bucket not found\" is one of three things: a public link to a private bucket, a name that is not an exact match, or the wrong project.","2026-10-17","\u002Fblog\u002Fsupabase-bucket-not-found\u002Fcard-800x500.png",{"path":1173,"title":1174,"description":1175,"published":1176,"category":897,"image":1177,"draft":901},"\u002Fblog\u002Fsupabase-invalid-jwt","Supabase invalid JWT: which key stopped working?","A Supabase invalid JWT error is PGRST301, and it means a signed token failed verification. On a newer project that token is your user, not your API key.","2026-10-16","\u002Fblog\u002Fsupabase-invalid-jwt\u002Fcard-800x500.png",{"path":1179,"title":1180,"description":1181,"published":1182,"category":897,"image":1183,"draft":901},"\u002Fblog\u002Fsupabase-single-row-error","Supabase \"multiple (or no) rows returned\" usually means no rows","Supabase returns PGRST116, \"JSON object requested, multiple (or no) rows returned\", when your query found none. A row your rules hide looks missing.","2026-10-15","\u002Fblog\u002Fsupabase-single-row-error\u002Fcard-800x500.png",{"path":1185,"title":1186,"description":1187,"published":1188,"category":897,"image":1189,"draft":901},"\u002Fblog\u002Fdatabase-error-saving-new-user","\"Database error saving new user\" in Supabase: how to fix it","\"Database error saving new user\" means something attached to your Supabase signup failed and it was all rolled back. The real error is in your logs.","2026-10-14","\u002Fblog\u002Fdatabase-error-saving-new-user\u002Fcard-800x500.png",{"path":1191,"title":1192,"description":1193,"published":1194,"category":897,"image":1195,"draft":901},"\u002Fblog\u002Fwhat-is-supabase","What is Supabase? The database your builder picked for you","What is Supabase: the database, login and file storage behind your app. Supabase runs the servers; the rules about who reads your rows are yours.","2026-10-13","\u002Fblog\u002Fwhat-is-supabase\u002Fcard-800x500.png",{"path":1197,"title":1198,"description":1199,"published":1200,"category":897,"image":1201,"draft":901},"\u002Fblog\u002Faws-access-key-exposed-in-frontend","An AWS access key exposed in your frontend is not like an OpenAI key","An AWS access key exposed in your frontend reads and writes your storage. The fix is usually a presigned URL rather than a new key.","2026-10-12","\u002Fblog\u002Faws-access-key-exposed-in-frontend\u002Fcard-800x500.png",{"path":1203,"title":1204,"description":1205,"published":1206,"category":897,"image":1207,"draft":901},"\u002Fblog\u002Fstorage-upload-violates-row-level-security","\"Row-level security policy for table objects\" on upload","\"New row violates row-level security policy for table objects\" means your upload has no insert rule. Making the bucket public does not add one.","2026-10-11","\u002Fblog\u002Fstorage-upload-violates-row-level-security\u002Fcard-800x500.png",{"path":1209,"title":1210,"description":1211,"published":1212,"category":897,"image":1213,"draft":901},"\u002Fblog\u002Fbase44-security-scan","Base44 security scan: the one thing only it can see","The Base44 security scan checks seven kinds of problem from inside your app. Here is the half it reads that nothing outside can, and the half it never looks at.","2026-10-10","\u002Fblog\u002Fbase44-security-scan\u002Fcard-800x500.png",{"path":1215,"title":1216,"description":1217,"published":1218,"category":897,"image":1219,"draft":901},"\u002Fblog\u002Fapi-key-leaked-what-to-do","Your API key leaked. Here is the order to do things in","An API key leaked and you want to know what to do first. Not every key in your frontend is one, and the order matters more than the speed.","2026-10-09","\u002Fblog\u002Fapi-key-leaked-what-to-do\u002Fcard-800x500.png",{"path":1221,"title":1222,"description":1223,"published":1224,"category":897,"image":1225,"draft":901},"\u002Fblog\u002Finfinite-recursion-in-policy-for-relation","\"Infinite recursion detected in policy\" without disabling RLS","\"Infinite recursion detected in policy for relation\" means your Supabase policy asked the table it protects. Here is how to break the circle.","2026-10-08","\u002Fblog\u002Finfinite-recursion-in-policy-for-relation\u002Fcard-800x500.png",{"path":1227,"title":1228,"description":1229,"published":1230,"category":897,"image":1231,"draft":901},"\u002Fblog\u002Fno-api-key-found-in-request","\"No API key found in request\" in Supabase, and the wrong fix","\"No API key found in request\" means your Supabase request arrived without a key. Most answers you find point at your database rules instead.","2026-10-07","\u002Fblog\u002Fno-api-key-found-in-request\u002Fcard-800x500.png",{"path":1233,"title":1234,"description":1235,"published":1236,"category":897,"image":1237,"draft":901},"\u002Fblog\u002Fis-base44-safe","Is Base44 safe? What 5,442 live Base44 apps showed","Is Base44 safe? We ran nine checks on 5,442 live Base44 apps. Almost all scored B for reasons the owner never chose, and one question nobody can answer.","2026-10-06","\u002Fblog\u002Fis-base44-safe\u002Fcard-800x500.png",{"path":1239,"title":1240,"description":1241,"published":1242,"category":897,"image":1243,"draft":901},"\u002Fblog\u002Fmove-a-secret-to-an-edge-function","Hide an API key: move it to a Supabase Edge Function","Hiding an API key means moving it off the browser, and a Supabase Edge Function is the smallest place to put it. Two steps around the move matter more.","2026-10-05","\u002Fblog\u002Fmove-a-secret-to-an-edge-function\u002Fcard-800x500.png",{"path":1245,"title":1246,"description":1247,"published":1248,"category":897,"image":1249,"draft":901},"\u002Fblog\u002Fenv-file-exposed-on-your-server","Is your .env file exposed? The twelve paths to check","Is your .env file exposed on your own web server? Twelve addresses tell you in a minute, and a hit means everything in the file is already public.","2026-10-04","\u002Fblog\u002Fenv-file-exposed-on-your-server\u002Fcard-800x500.png",{"path":1251,"title":1252,"description":1253,"published":1254,"category":897,"image":1255,"draft":901},"\u002Fblog\u002Fis-v0-safe","v0 security: all 1,790 v0 apps we scanned got an A","v0 security, measured on 1,790 live v0 apps: every one graded A. Only 17 named a database, and that is most of what the A is measuring.","2026-10-03","\u002Fblog\u002Fis-v0-safe\u002Fcard-800x500.png",{"path":1257,"title":1258,"description":1259,"published":1260,"category":897,"image":1261,"draft":901},"\u002Fblog\u002Fis-bolt-safe","Is Bolt safe? What 1,123 live Bolt apps showed","Is Bolt safe? We ran nine checks on 1,123 live Bolt apps. The hosting came back clean. The findings were API keys and open tables inside the apps.","2026-10-02","\u002Fblog\u002Fis-bolt-safe\u002Fcard-800x500.png",{"path":1263,"title":1264,"description":1265,"published":1266,"category":897,"image":1267,"draft":901},"\u002Fblog\u002Fis-supabase-down-or-your-app","Is Supabase down, or is it your app? How to tell","Is Supabase down, or is it your app? A paused project, a full database and a bug of your own all look like an outage. Four checks tell them apart.","2026-10-01","\u002Fblog\u002Fis-supabase-down-or-your-app\u002Fcard-800x500.png",{"path":1269,"title":1270,"description":1271,"published":1272,"category":897,"image":1273,"draft":901},"\u002Fblog\u002Fdoes-supabase-encrypt-my-data","Does Supabase encrypt my data? Yes. Here is what it stops","Does Supabase encrypt data? Yes: AES-256 at rest, TLS in transit, SOC 2 and ISO 27001 audited. What each one covers, and the leak none of them stops.","2026-09-30","\u002Fblog\u002Fdoes-supabase-encrypt-my-data\u002Fcard-800x500.png",{"path":1275,"title":1276,"description":1277,"published":1278,"category":897,"image":1279,"draft":901},"\u002Fblog\u002Fsupabase-free-plan-limits","Supabase free plan limits, and what happens at each one","The Supabase free plan limits you to 500 MB of database and 5 GB of egress, with no backups. What happens as you cross each line, and what $25 changes.","2026-09-29","\u002Fblog\u002Fsupabase-free-plan-limits\u002Fcard-800x500.png",{"path":1281,"title":1282,"description":1283,"published":1284,"category":986,"image":1285,"draft":901},"\u002Fblog\u002Ftest-your-supabase-backup","Test your Supabase backup before the day you need it","How to test your Supabase backup: restore it into a spare project, compare the row counts, sign in, and check for the line a cut-off file is missing.","2026-09-28","\u002Fblog\u002Ftest-your-supabase-backup\u002Fcard-800x500.png",{"path":1287,"title":1288,"description":1289,"published":1290,"category":986,"image":1291,"draft":901},"\u002Fblog\u002Fsupabase-backup-github-action","Free Supabase backup with a GitHub Action, and the catch","A Supabase backup GitHub Action costs nothing and suits a lot of apps. The workflow, the connection string that works on GitHub, and the egress each run uses.","2026-09-27","\u002Fblog\u002Fsupabase-backup-github-action\u002Fcard-800x500.png",{"path":1293,"title":1294,"description":1295,"published":1296,"category":986,"image":1297,"draft":901},"\u002Fblog\u002Fdownload-your-supabase-backup","Why you can't download your Supabase backup","You can't download your Supabase backup on a current project, because the daily copy is a physical snapshot. How to tell, and how to hold a copy of your own.","2026-09-26","\u002Fblog\u002Fdownload-your-supabase-backup\u002Fcard-800x500.png",{"path":1299,"title":1300,"description":1301,"published":1296,"category":897,"image":1302,"draft":901},"\u002Fblog\u002Fsupabase-permission-denied-for-table","Supabase \"permission denied for table\": the missing grant","From October 30, a new Supabase table answers \"permission denied for table\" until you grant access. The grant the email shows is half the fix.","\u002Fblog\u002Fsupabase-permission-denied-for-table\u002Fcard-800x500.png",{"path":1304,"title":1305,"description":1306,"published":1307,"category":897,"image":1308,"draft":901},"\u002Fblog\u002Fopen-api-endpoint-exposed","Is an open API endpoint a security problem? Look at the JSON","Your scan flagged an open API endpoint. Whether it matters depends on what came back, and most of the ones we found were the platform's own.","2026-09-25","\u002Fblog\u002Fopen-api-endpoint-exposed\u002Fcard-800x500.png",{"path":1310,"title":1311,"description":1312,"published":1313,"category":897,"image":1314,"draft":901},"\u002Fblog\u002Flovable-security-scan","Lovable security scan: the one thing it cannot prove","Lovable security scan: what the Quick and Deep scans check, when each one runs, and the one thing no scan from inside your project can prove.","2026-09-24","\u002Fblog\u002Flovable-security-scan\u002Fcard-800x500.png",{"path":1316,"title":1317,"description":1318,"published":1319,"category":986,"image":1320,"draft":901},"\u002Fblog\u002Fsupabase-backup-auth-users","Why your Supabase dump has no users in it","Run supabase db dump on its own and you get the shape of your database and none of its rows, with the auth schema your users live in left out entirely.","2026-09-23","\u002Fblog\u002Fsupabase-backup-auth-users\u002Fcard-800x500.png",{"path":1322,"title":1323,"description":1324,"published":1325,"category":897,"image":1326,"draft":901},"\u002Fblog\u002Fdomain-and-certificate-expiry","Domain expired, website down: what actually happens next","Your domain expired and your website is down. Here is the clock you are on, why a lapsed certificate is the easier of the two, and how to check both.","2026-09-22","\u002Fblog\u002Fdomain-and-certificate-expiry\u002Fcard-800x500.png",{"path":1328,"title":1329,"description":1330,"published":1331,"category":897,"image":1332,"draft":901},"\u002Fblog\u002Fis-lovable-safe","Is Lovable safe? What 18,554 live Lovable apps showed","Is Lovable safe? We ran nine checks on 18,554 live Lovable apps. The platform was the cleanest of five builders. Every finding was inside the app itself.","2026-09-21","\u002Fblog\u002Fis-lovable-safe\u002Fcard-800x500.png",{"path":1334,"title":1335,"description":1336,"published":1337,"category":897,"image":1338,"draft":901},"\u002Fblog\u002Fvibe-coded-app-security-checklist","The vibe coding security checklist, in nine checks","A vibe coding security checklist with nine items, each one something anyone can verify about your live app from outside, and each with a one-line test.","2026-09-20","\u002Fblog\u002Fvibe-coded-app-security-checklist\u002Fcard-800x500.png",{"path":1340,"title":1341,"description":1342,"published":1343,"category":897,"image":1344,"draft":901},"\u002Fblog\u002Fstripe-secret-key-in-frontend","A Stripe secret key exposed in your frontend can move money","A Stripe secret key exposed in your frontend can refund, charge and read every customer record you hold. Your pk_live_ key is meant to be there.","2026-09-19","\u002Fblog\u002Fstripe-secret-key-in-frontend\u002Fcard-800x500.png",{"path":1346,"title":1347,"description":1348,"published":1349,"category":897,"image":1350,"draft":901},"\u002Fblog\u002Fvite-and-next-public-env-vars","Vite env variables exposed: VITE_ and NEXT_PUBLIC_ mean publish this","Vite env variables exposed in your app did what the prefix asked. VITE_ and NEXT_PUBLIC_ mean publish this, and the AI that added one never knew the cost.","2026-09-18","\u002Fblog\u002Fvite-and-next-public-env-vars\u002Fcard-800x500.png",{"path":1352,"title":1353,"description":1354,"published":1355,"category":897,"image":1356,"draft":901},"\u002Fblog\u002Fbase44-source-maps","Base44 security: what a scan flags, and what is yours to fix","Base44 security on 5,438 scanned apps: three findings on nearly every one are the platform's, the source map is Base44's badge, and what is yours is short.","2026-09-17","\u002Fblog\u002Fbase44-source-maps\u002Fcard-800x500.png",{"path":1358,"title":1359,"description":1360,"published":1361,"category":897,"image":1362,"draft":901},"\u002Fblog\u002Fis-cursor-ai-safe","Is Cursor AI safe? The editor, the code, and the app you shipped","Is Cursor AI safe? Three questions in one search: what Cursor keeps, what the code it writes gets wrong, and whether the app you shipped is open.","2026-09-16","\u002Fblog\u002Fis-cursor-ai-safe\u002Fcard-800x500.png",{"path":1364,"title":1365,"description":1366,"published":1367,"category":897,"image":1368,"draft":901},"\u002Fblog\u002Fis-replit-safe","Is Replit safe? What we found in 3,042 live Replit apps","Is Replit safe? We ran nine external checks on 3,042 live Replit apps. The host was not where the findings were. The app each owner published was.","2026-09-15","\u002Fblog\u002Fis-replit-safe\u002Fcard-800x500.png",{"path":1370,"title":1371,"description":1372,"published":1373,"category":986,"image":1374,"draft":901},"\u002Fblog\u002Fsupabase-storage-backup","Supabase storage backup: why your database copy has no files","A Supabase storage backup is a separate job. Database backups keep the list of your files and none of the files, so a restore leaves every upload broken.","2026-09-14","\u002Fblog\u002Fsupabase-storage-backup\u002Fcard-800x500.png",{"path":1376,"title":1377,"description":1378,"published":1379,"category":986,"image":1380,"draft":901},"\u002Fblog\u002Fsupabase-point-in-time-recovery","Supabase point-in-time recovery: what it costs, what it misses","Supabase point-in-time recovery rewinds your database to any second in the last week. It costs $100 a month on top of Pro, and it covers your database only.","2026-09-13","\u002Fblog\u002Fsupabase-point-in-time-recovery\u002Fcard-800x500.png",{"path":1382,"title":1383,"description":1384,"published":1385,"category":986,"image":1386,"draft":901},"\u002Fblog\u002Fsupabase-project-paused-recover","Supabase project paused? Your data is still there","Supabase paused your project after a week of inactivity. Nothing is deleted, Restore sits beside the project name, and you have a year before that changes.","2026-09-12","\u002Fblog\u002Fsupabase-project-paused-recover\u002Fcard-800x500.png",{"path":1388,"title":1389,"description":1390,"published":1391,"category":897,"image":1392,"draft":901},"\u002Fblog\u002Fsafest-ai-app-builder","Which AI app builder is safest? We scanned 30,998 apps","Which AI app builder is safest? We scanned 30,998 live apps from Lovable, Base44, Replit, v0 and Bolt. The builder is not what decides your grade.","2026-09-11","\u002Fblog\u002Fsafest-ai-app-builder\u002Fcard-800x500.png",{"path":343,"title":1394,"description":1395,"published":1396,"category":897,"image":1397,"draft":901},"Enable Row Level Security on every Supabase table, then prove it","Enabling Row Level Security in Supabase with no policy locks a table completely. A policy without the setting does nothing. Here is the SQL, and the test.","2026-09-10","\u002Fblog\u002Fenable-rls-on-every-supabase-table\u002Fcard-800x500.png",{"path":1399,"title":1400,"description":1401,"published":1402,"category":897,"image":1403,"draft":901},"\u002Fblog\u002Fsupabase-rls-disabled-in-public","Supabase \"RLS disabled in public\": what the warning misses","Supabase reports \"RLS disabled in public\" as an error. It says nothing about the read policy that leaves your table just as open to strangers.","2026-09-09","\u002Fblog\u002Fsupabase-rls-disabled-in-public\u002Fcard-800x500.png",{"path":1405,"title":1406,"description":1407,"published":1408,"category":897,"image":1409,"draft":901},"\u002Fblog\u002Frotate-supabase-service-role-key","How to rotate a leaked Supabase service_role key","Supabase says fix the leak first. Other guides say rotate now. Which is right depends on where your service_role key leaked.","2026-09-08","\u002Fblog\u002Frotate-supabase-service-role-key\u002Fcard-800x500.png",{"path":1411,"title":1412,"description":1413,"published":1414,"category":897,"image":1415,"draft":901},"\u002Fblog\u002Fvibe-coding-security-scanners-compared","Vibe coding security scanners compared, including ours","The best vibe coding security scanner comes down to three questions no feature list answers. Eight tools compared, with prices, and the jobs Reeve does not do.","2026-09-07","\u002Fblog\u002Fvibe-coding-security-scanners-compared\u002Fcard-800x500.png",{"path":1417,"title":1418,"description":1419,"published":1420,"category":897,"image":1421,"draft":901},"\u002Fblog\u002Fsupabase-security-checker","Supabase security checker: run the five checks yourself","A Supabase security checker reads your published app instead of your project settings. Here are the five checks it runs, and how to run each one yourself.","2026-09-06","\u002Fblog\u002Fsupabase-security-checker\u002Fcard-800x500.png",{"path":1423,"title":1424,"description":1425,"published":1426,"category":897,"image":1427,"draft":901},"\u002Fblog\u002Fvibe-coding-security-scanner","Vibe coding security scanner: what a URL scan misses","A vibe coding security scanner reads your live app from outside. Here is what that covers, the four things it cannot see, and how to read the result.","2026-09-05","\u002Fblog\u002Fvibe-coding-security-scanner\u002Fcard-800x500.png",{"path":1429,"title":1430,"description":1431,"published":1432,"category":897,"image":1433,"draft":901},"\u002Fblog\u002Fmissing-security-headers","Missing security headers: when it actually matters","Missing security headers is the finding our scanner prints most. Here is what it protects against, and when it is the least urgent line on your report.","2026-09-04","\u002Fblog\u002Fmissing-security-headers\u002Fcard-800x500.png",{"path":1435,"title":1436,"description":1437,"published":1438,"category":897,"image":1439,"draft":901},"\u002Fblog\u002Fopenai-api-key-exposed-in-frontend","Your OpenAI API key is exposed in your frontend. Rotate it.","An OpenAI API key exposed in your frontend cannot be locked to a domain. Rotate it today, move the call behind your own endpoint, and cap the spend.","2026-09-03","\u002Fblog\u002Fopenai-api-key-exposed-in-frontend\u002Fcard-800x500.png",{"path":1441,"title":1442,"description":1443,"published":1444,"category":897,"image":1445,"draft":901},"\u002Fblog\u002Fwhat-secrets-leak-from-vibe-coded-apps","An API key exposed in your frontend: what 30,998 apps shipped","An API key exposed in your frontend is usually a Google Maps key. We scanned 30,998 live vibe-coded apps and counted which secrets actually leak.","2026-09-02","\u002Fblog\u002Fwhat-secrets-leak-from-vibe-coded-apps\u002Fcard-800x500.png",{"path":1447,"title":1448,"description":1449,"published":1450,"category":986,"image":1451,"draft":901},"\u002Fblog\u002Fsupabase-backup-tools-compared","Supabase backup tools compared, including ours","Four kinds of Supabase backup tool, what each one actually copies, and the case where a free GitHub Action beats paying anyone, us included.","2026-09-01","\u002Fblog\u002Fsupabase-backup-tools-compared\u002Fcard-800x500.png",{"path":1453,"title":1454,"description":1455,"published":1456,"category":897,"image":1457,"draft":901},"\u002Fblog\u002Freplit-secrets-explained","How to use secrets in Replit, and what still gets published","How to use secrets in Replit: add one, read it back, and fix the two reasons it comes back undefined. Plus the keys the Secrets tool cannot keep private.","2026-08-31","\u002Fblog\u002Freplit-secrets-explained\u002Fcard-800x500.png",{"path":642,"title":1459,"description":1460,"published":1461,"category":986,"image":1462,"draft":901},"Supabase free tier backups: how to make one without a terminal","There are no Supabase free tier backups, so the copy has to come from you. How to make one from the dashboard, and what CSV leaves out.","2026-08-30","\u002Fblog\u002Fback-up-supabase-free-tier\u002Fcard-800x500.png",{"path":1464,"title":1465,"description":1466,"published":1467,"category":897,"image":1468,"draft":901},"\u002Fblog\u002Fis-supabase-secure","Is Supabase secure? Yes. Your project is a separate question","Is Supabase secure? The platform is audited, encrypted and pen-tested. Their own compliance documents say where that stops and your settings begin.","2026-08-29","\u002Fblog\u002Fis-supabase-secure\u002Fcard-800x500.png",{"path":1470,"title":1471,"description":1472,"published":1473,"category":897,"image":1474,"draft":901},"\u002Fblog\u002Fwhere-to-find-supabase-api-keys","Where to find your Supabase URL, publishable and secret keys","Your Supabase project URL, anon key and service_role key are on one dashboard page. Here is where that page is, and which of the four belongs in your app.","2026-08-28","\u002Fblog\u002Fwhere-to-find-supabase-api-keys\u002Fcard-800x500.png",{"path":468,"title":1476,"description":1477,"published":1478,"category":897,"image":1479,"draft":901},"New row violates row-level security policy in Supabase. Now what?","\"New row violates row-level security policy\" means Supabase refused a write. The fix that clears it in ten seconds also reopens the table to everyone.","2026-08-27","\u002Fblog\u002Fnew-row-violates-row-level-security-policy\u002Fcard-800x500.png",{"path":1481,"title":1482,"description":1483,"published":1484,"category":897,"image":1485,"draft":901},"\u002Fblog\u002Fcors-wildcard-security-risk","Is a CORS wildcard a security risk? Usually not.","Is a CORS wildcard a security risk? Usually it is your builder default, and it gives away nothing your server was not already handing to anyone who asked.","2026-08-26","\u002Fblog\u002Fcors-wildcard-security-risk\u002Fcard-800x500.png",{"path":1487,"title":1488,"description":1489,"published":1490,"category":986,"image":1491,"draft":901},"\u002Fblog\u002Fsupabase-branching-is-not-a-backup","Supabase branching is not a backup. It only goes forwards.","Supabase branching is not a backup: a branch starts with none of your data, and merging only moves schema. What it is for, and what to use instead.","2026-08-25","\u002Fblog\u002Fsupabase-branching-is-not-a-backup\u002Fcard-800x500.png",{"path":1493,"title":1494,"description":1495,"published":1496,"category":986,"image":1497,"draft":901},"\u002Fblog\u002Fhow-to-restore-a-supabase-backup","How to restore a Supabase backup, and what breaks after","How to restore a Supabase backup from the dashboard or from a dump file, what the restore replaces, and why your app can still be broken when it finishes.","2026-08-24","\u002Fblog\u002Fhow-to-restore-a-supabase-backup\u002Fcard-800x500.png",{"path":1499,"title":1500,"description":1501,"published":1502,"category":897,"image":1503,"draft":901},"\u002Fblog\u002Fsupabase-storage-bucket-public","Your Supabase storage bucket is public. Is that a problem?","A public Supabase storage bucket means anyone with a file URL can open it. It does not mean anyone can list what is in there. Two different settings.","2026-08-23","\u002Fblog\u002Fsupabase-storage-bucket-public\u002Fcard-800x500.png",{"path":1505,"title":1506,"description":1507,"published":1508,"category":897,"image":1509,"draft":901},"\u002Fblog\u002Fgoogle-api-key-exposed-in-frontend","Is a Google API key exposed in your frontend a problem?","A Google API key exposed in your frontend is the key our scanner finds most often, and usually it is fine. One free setting decides which it is.","2026-08-22","\u002Fblog\u002Fgoogle-api-key-exposed-in-frontend\u002Fcard-800x500.png",{"path":1511,"title":1512,"description":1513,"published":1514,"category":986,"image":1515,"draft":901},"\u002Fblog\u002Fai-agent-deleted-my-database","An AI agent deleted my Supabase data. What can I recover?","An AI agent deleted your database data. What you can recover was decided before it ran, and the next few minutes decide how much of it survives.","2026-08-21","\u002Fblog\u002Fai-agent-deleted-my-database\u002Fcard-800x500.png",{"path":1517,"title":1518,"description":1519,"published":1520,"category":897,"image":1521,"draft":901},"\u002Fblog\u002Fcan-anyone-read-your-supabase-database","Can anyone read your Supabase database? We checked 3,680 apps","Can anyone read your Supabase database without logging in? We scanned 30,998 live apps built with AI builders and measured how often the answer is yes.","2026-08-18","\u002Fblog\u002Fcan-anyone-read-your-supabase-database\u002Fcard-800x500.png",{"path":1523,"title":1524,"description":1525,"published":1520,"category":897,"image":1526,"draft":901},"\u002Fblog\u002Fsource-maps-exposed-in-production","Source maps exposed: your app is publishing its original code","An exposed source map lets anyone read your app's original code, comments included. The 30-second check, and what actually matters if yours are public.","\u002Fblog\u002Fsource-maps-exposed-in-production\u002Fcard-800x500.png",{"path":1528,"title":1529,"description":1530,"published":1531,"category":897,"image":1532,"draft":901},"\u002Fblog\u002Fsupabase-new-api-keys","Supabase publishable key: is it the same as the anon key?","Supabase replaced anon and service_role with publishable and secret keys. Which one belongs in your app, and which never does?","2026-08-12","\u002Fblog\u002Fsupabase-new-api-keys\u002Fcard-800x500.png",{"path":1534,"title":1535,"description":1536,"published":1537,"category":986,"image":1538,"draft":901},"\u002Fblog\u002Fdoes-supabase-back-up-my-database","Does Supabase back up my database? It depends on your plan.","Does Supabase back up your database? Daily on paid plans, and not at all on the free one. How to check which you have, and what that copy cannot survive.","2026-08-11","\u002Fblog\u002Fdoes-supabase-back-up-my-database\u002Fcard-800x500.png",{"path":1540,"title":1541,"description":1542,"published":1543,"category":897,"image":1544,"draft":901},"\u002Fblog\u002Fsupabase-rls-on-but-table-still-public","Supabase Row Level Security is on. Your table is still public.","Turning on Supabase Row Level Security does not protect a table. Your policies do, and the policy that fixed your broken app may let everyone in.","2026-08-10","\u002Fblog\u002Fsupabase-rls-on-but-table-still-public\u002Fcard-800x500.png",{"path":1546,"title":1547,"description":1548,"published":1543,"category":986,"image":1549,"draft":901},"\u002Fblog\u002Fversion-history-is-not-a-backup","Version history is not a backup. It cannot undo a deleted table.","Lovable and Bolt keep version history for your code. Your database is a separate service, so rolling back to this morning does not bring your data back.","\u002Fblog\u002Fversion-history-is-not-a-backup\u002Fcard-800x500.png",{"path":1551,"title":1552,"description":1553,"published":1554,"category":986,"image":1555,"draft":901},"\u002Fblog\u002Fthree-ways-to-back-up-a-supabase-database","Three ways to back up a Supabase database, and what each misses","The dashboard, pg_dump, and a managed service. What each one actually saves, what it quietly leaves out, and which one survives losing the account.","2026-08-09","\u002Fblog\u002Fthree-ways-to-back-up-a-supabase-database\u002Fcard-800x500.png",{"path":1557,"title":1558,"description":1559,"published":1554,"category":897,"image":1560,"draft":901},"\u002Fblog\u002Fwhich-api-keys-are-safe-in-your-frontend","Which API keys are safe in your frontend, and which aren't","Your Supabase anon key is supposed to be public. Your service_role key is not, and it ignores every rule you set. Here is how to tell them apart.","\u002Fblog\u002Fwhich-api-keys-are-safe-in-your-frontend\u002Fcard-800x500.png",1795595685468]