jmw327 11 жил өмнө
parent
commit
7d0690f59f
2 өөрчлөгдсөн 3 нэмэгдсэн , 37 устгасан
  1. 1 35
      .gitignore
  2. 2 2
      web/schema.sql

+ 1 - 35
.gitignore

@@ -1,36 +1,2 @@
-# Project specific
+*.pyc
 config.yaml
-venv/
-
-# Byte-compiled / optimized / DLL files
-__pycache__/
-*.py[cod]
-
-# C extensions
-*.so
-
-# Distribution / packaging
-bin/
-build/
-develop-eggs/
-dist/
-eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-*.egg-info/
-.installed.cfg
-*.egg
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-.tox/
-.coverage
-.cache
-nosetests.xml
-coverage.xml

+ 2 - 2
web/schema.sql

@@ -3,7 +3,7 @@ DROP TABLE IF EXISTS users;
 CREATE TABLE users (
 	id serial PRIMARY KEY,
 	username varchar(32) NOT NULL,
-	password varchar(64) NOT NULL,
-	salt varchar NOT NULL,
+	password char(64) NOT NULL,
+	salt char(32) NOT NULL,
 	UNIQUE (username)
 );