SQL: User now has default of 0 rep

master
E. Almqvist 3 years ago
parent 1273b76be5
commit 2098946be6
  1. 2
      src/sql/tables/User.sql
  2. 3
      src/views/stylesheets/style.sass

@ -6,6 +6,6 @@ CREATE TABLE IF NOT EXISTS "User" (
"bio_text" TEXT NOT NULL DEFAULT 'No information given.', "bio_text" TEXT NOT NULL DEFAULT 'No information given.',
"balance" REAL NOT NULL DEFAULT 0, "balance" REAL NOT NULL DEFAULT 0,
"avatar_url" TEXT NOT NULL DEFAULT '/avatars/default.png', "avatar_url" TEXT NOT NULL DEFAULT '/avatars/default.png',
"reputation" INTEGER NOT NULL DEFAULT 100, "reputation" INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY("id" AUTOINCREMENT) PRIMARY KEY("id" AUTOINCREMENT)
); );

@ -216,8 +216,7 @@ ul.button-container
width: 100% width: 100%
height: 100% height: 100%
max-width: 70rem max-width: 70rem
padding: 2rem padding-top: 2rem
padding-bottom: 0
margin: 0 auto margin: 0 auto
.card-container .card-container

Loading…
Cancel
Save