This website requires JavaScript.
Explore
Help
Register
Sign In
a
/
gosora
Watch
1
Star
0
Fork
You've already forked gosora
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
d962035e8e
gosora
/
schema
/
pgsql
/
query_sync.sql
3 lines
58 B
MySQL
Raw
Normal View
History
Unescape
Escape
Eliminated some JS errors for guests on Cosora. Fixed the build tags for the alt database engines. Tweaked the quotes on the PgSQL adapter. Still not functional. Removed the SQLite build tag as it's unlikely that it'll ever be implemented.
2018-08-15 07:02:57 +00:00
CREATE
TABLE
"
sync
"
(
Add a per-user theme switcher. The CSS might be slightly broken in the themes, that'll be fixed in a follow-up commit. Added basic support for server sync. Re-added a few missing defers. Renamed TO-DO to TODO across the entire codebase. Renamed StaticForumStore to MemoryForumStore. The ForumStore is now built on a sync.Map with a view slice for generating /forums rather than a slice. Renamed many more functions and variables to satisfy the linter. increase_post_user_stats() and decrease_post_user_stats() are now methods on the User struct. We also fix a bug where they take the moderator's score rather than the target user's into account when recalculating their level after a post / topic is deleted. Transitioned the topic list to CSS Grid for Tempra Simple, with a float fallback. Cosmo and Cosmo Conflux are now hidden from the theme list. Fixed more data races. Added more debug data to the template compiler logs.
2017-09-10 16:57:22 +00:00
`
last_update
`
timestamp
not
null
)
;