Archived
1
0
Disbranĉigi 0
Ĉi tiu deponejo arĥiviĝis je 2024-01-28. Vi povas vidi kaj elŝuti dosierojn, sed ne povas puŝi nek raporti problemojn nek tirpeti.
blagoblag/docs/database_spec.txt
2019-02-11 00:14:30 -06:00

25 lines
839 B
Plaintext

===============================================================================
DATABASE SPEC
===============================================================================
We use `dbi4php` (/lib/ext/dbi4php/) for database access, so that we don't
have to rely on a specific DB.
Anything supported by DBI (MySQL, MS SQL, Oracles, PostgreSQL, ODBC, Interbase,
SQLite, IBM DB2) will work just fine.
The database name will be fetched from the "config.ini" file-- and a table
will be automatically created as necessary.
The tables used by Blagoblag are:
posts (title varchar(200), date datetime, author smallint,
text longtext)
authors (id smallint primary key, username varchar(20),
password_hash varchar(30), full_name varchar(50))
comments (id smallint primary key, displayname varchar(20),
text shorttext, date datetime)