Fixed internal server error caused by database exploding

This commit is contained in:
Franklin 2022-08-26 14:18:45 -04:00
parent 2b9b0fe83e
commit 2f8038f740
2 changed files with 6 additions and 2 deletions

View File

@ -44,7 +44,11 @@ To build for release on current platform
cargo build --release cargo build --release
``` ```
To build for release on x86-64 linux To build for release on x86-64 linux From m1 macs
``` bash
brew tap SergioBenitez/osxct
brew install x86_64-unknown-linux-gnu
```
```bash ```bash
cargo build --release --target x86_64-unknown-linux-gnu cargo build --release --target x86_64-unknown-linux-gnu

View File

@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS user (
last_updated DATETIME, last_updated DATETIME,
app VARCHAR(255) NOT NULL, app VARCHAR(255) NOT NULL,
credential VARCHAR(255) NOT NULL, credential VARCHAR(255) NOT NULL,
credential_type VARCHAR(10) NOT NULL, credential_type VARCHAR(20) NOT NULL,
name VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL,
password TEXT NOT NULL, password TEXT NOT NULL,
salt TEXT NOT NULL salt TEXT NOT NULL