ALLNET services for newer Sega arcade games
Go to file
Tau eb276128c2 sql: Add "maintenance transaction" system
SQLite's ALTER TABLE functionality leaves a lot to be desired, so
in practice the way you alter SQLite schema is to create a new
table, migrate the data into it, then drop the old table. However,
this is potentially complicated by the presence of foreign key
constraints.

In order to resolve the foreign key constraint issue we add a
`maintenance()` method to the `DataSource` abstraction layer. This
operates similarly to the existing `transaction()` method, but the
SQLite implementation of this method defers enforcement of foreign
keys until the transaction is about to commit.
2021-02-03 23:43:38 +00:00
.vscode Add explicit vscode formatter conf 2021-02-03 23:43:36 +00:00
pki Check in a canonical PKI 2019-11-06 17:28:30 -05:00
schema chuni: Correctly implement recent rating requests 2020-08-02 12:22:01 -04:00
src sql: Add "maintenance transaction" system 2021-02-03 23:43:38 +00:00
types types: Declare ON CONFLICT ... DO NOTHING clause 2021-02-03 23:43:36 +00:00
.editorconfig Add Markdown to .editorconfig 2019-11-06 17:28:31 -05:00
.gitignore Migrate to SQLite3 2019-11-06 17:28:30 -05:00
.gitlab-ci.yml Add tests to CI build 2020-08-01 12:38:47 -04:00
CHANGELOG.md v013 2020-12-15 18:05:28 -05:00
initpki Check in a canonical PKI 2019-11-06 17:28:30 -05:00
package-lock.json Fix npm audit noise 2020-09-01 01:10:32 +00:00
package.json Fix npm audit noise 2020-09-01 01:10:32 +00:00
README.md Add stub README.md 2019-11-06 17:29:01 -05:00
start.bat Switch to @decafcode/sqlite for database access 2020-01-05 10:00:12 -05:00
tsconfig.json Add local typings directory to project 2019-11-06 17:28:30 -05:00

MiniMe

A simple self-hosted ALLNET/AiMe server written in TypeScript, running on Node.js, that stores its data in an SQLite database.