Commit Graph

11 Commits

Author SHA1 Message Date
rr- e688f39887 server/db: specify nullable for foreign keys
This is mostly stylistic change, but it clearly shows the intended
behavior should we detect more integrity violation errors.
2016-08-16 17:22:33 +02:00
rr- 0320a0b55b server/general: improve versioning effectiveness
...by integrating it with sqlalchemy that adds WHERE conditions for each
UPDATE and DELETE statement.
2016-08-16 17:22:33 +02:00
rr- 9aea55e3d1 server/general: embrace most of PEP8
Ignored only the rules about continuing / hanging indentation.

Also, added __init__.py to tests so that pylint discovers them. (I don't
buy pytest's BS about installing your package.)
2016-08-14 16:44:03 +02:00
rr- 8d04df38fd server/general: add entity versions 2016-08-07 09:55:51 +02:00
rr- 2429e95102 server/users: fix cascade deletions 2016-08-02 12:27:01 +02:00
rr- 1019062698 server/users: fix fetching columns 2016-06-16 23:42:36 +02:00
rr- a67db59d99 server/comments: fix serializing cached scores 2016-06-12 14:01:38 +02:00
rr- f39e58b1bc server/db: create indexes 2016-05-09 09:43:00 +02:00
rr- 2330cf017d server/db: fix mappings
Post notes had mixed up column types. I fixed that and at the same time,
I took the opportunity to convert everything into Unicode. Also, I've
changed existing migrations rather than creating new ones - it's not
like we're even close to alpha...
2016-05-08 22:18:13 +02:00
rr- 52f4018bee server/comments+posts: add rating 2016-04-24 16:37:11 +02:00
rr- 093863b944 server/comments: add comment tables 2016-04-24 10:31:49 +02:00