-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Add migrations and seed data #20
Conversation
@brycedev is attempting to deploy a commit to the Midday Labs AB Team on Vercel. A member of the Team first needs to authorize it. |
on public .users for each row execute function update_updated_at(); | ||
|
||
-- create a policy to allow users to read all profiles | ||
create policy read_all_profiles on public .users for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// security: allows all users emails to be read. very bad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xyzeva I agree. I think the email doesn't need to be on this table at all actually, but was following the user update schema.
thank you! I can take over the RLS if you want regarding security! |
All yours! |
Closing in favor of: #26 |
Fixes #1
Figured I would leave display to you @pontusab