Skip to content

Commit

Permalink
changed logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnafnafee committed Mar 7, 2022
1 parent ac233de commit b1fe472
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions db/query.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
create table public.profiles (
id bigint generated by default as identity primary key,
email text not null,
first_name text
);

create or replace function public.handle_new_user()
returns trigger as $$
begin
insert into public.profiles (id, email, first_name)
values (
new.id,
new.email,
new.raw_user_meta_data ->> 'first_name'
);
return new;
end;
$$ language plpgsql security definer;


create table public.book_library (
id bigint generated by default as identity primary key,
user_id uuid references auth.users not null,
g_id text not null,
title text,
authors text,
thumbnail text,
categories text,
rating float,
insertedAt timestamp with time zone default timezone('utc'::text, now()) not null
);

create table public.book_wishlist (
id bigint generated by default as identity primary key,
user_id uuid references auth.users not null,
g_id text not null,
title text,
authors text,
thumbnail text,
categories text,
rating float,
insertedAt timestamp with time zone default timezone('utc'::text, now()) not null
);
Binary file modified public/images/bookworm-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/bookworm-seo-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/Bookworm - Presentation.pdf
Binary file not shown.

1 comment on commit b1fe472

@vercel
Copy link

@vercel vercel bot commented on b1fe472 Mar 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.