backend-01

commit b45d64731231c91cd491f7e6f1576c99cbb2dcd2

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

schema: update user's schema to use integer autoincrement

serial only on postgresql

 schema.sql | 2 +-


diff --git a/schema.sql b/schema.sql
index ce13e56a455d6f5952a89211642bb7ca310d5819..91491fedccf89ba637583a1b1d85c51b38c95100 100644
--- a/schema.sql
+++ b/schema.sql
@@ -1,5 +1,5 @@
 CREATE TABLE IF NOT EXISTS users (
-  id SERIAL PRIMARY KEY,
+  id INTEGER PRIMARY KEY AUTOINCREMENT,
   username VARCHAR(255) NOT NULL,
   encrypted_password VARCHAR(255) NOT NULL,
   email VARCHAR(255) NOT NULL,