mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Format and style
Format SQL query in clean database, run npm run format
This commit is contained in:
@@ -27,7 +27,9 @@ const ProtectedPage: NextPage = () => {
|
||||
{isEvening && 'evening'}
|
||||
{`, ${user?.firstName}!`}
|
||||
</h1>
|
||||
<h2 className="text-xl font-bold lg:text-4xl">Welcome to the Biergarten App!</h2>
|
||||
<h2 className="text-xl font-bold lg:text-4xl">
|
||||
Welcome to the Biergarten App!
|
||||
</h2>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,8 @@ const cleanDatabase = async () => {
|
||||
DECLARE
|
||||
statements CURSOR FOR
|
||||
SELECT tablename FROM pg_tables
|
||||
WHERE schemaname = 'public';
|
||||
WHERE schemaname = 'public'
|
||||
AND tablename != '_prisma_migrations';
|
||||
BEGIN
|
||||
FOR statement IN statements LOOP
|
||||
EXECUTE 'TRUNCATE TABLE ' || quote_ident(statement.tablename) || ' CASCADE;';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
const myThemes = {
|
||||
dark: {
|
||||
primary: 'hsl(227, 23%, 20%)',
|
||||
primary: 'hsl(227, 25%, 30%)',
|
||||
secondary: 'hsl(255, 9%, 69%)',
|
||||
error: 'hsl(9, 52%, 57%)',
|
||||
accent: 'hsl(316, 96%, 60%)',
|
||||
@@ -12,8 +12,8 @@ const myThemes = {
|
||||
warning: 'hsl(50, 98%, 50%)',
|
||||
'primary-content': 'hsl(0, 0%, 98%)',
|
||||
'error-content': 'hsl(0, 0%, 98%)',
|
||||
'base-100': 'hsl(227, 20%, 11%)',
|
||||
'base-200': 'hsl(227, 20%, 8%)',
|
||||
'base-100': 'hsl(227, 20%, 15%)',
|
||||
'base-200': 'hsl(227, 20%, 11%)',
|
||||
'base-300': 'hsl(227, 20%, 5%)',
|
||||
},
|
||||
light: {
|
||||
|
||||
Reference in New Issue
Block a user