updating database section

El RIDO 2018-06-08 07:02:44 +02:00
parent 473b3a3d5b
commit b5428220f8

@ -124,8 +124,7 @@ The table prefix option is called `tbl`.
> know.
For reference or if you want to create the table schema for yourself (replace
`prefix_` with your own table prefix and create the table schema with phpMyAdmin
or the MYSQL console):
`prefix_` with your own table prefix and create the table schema with your favourite MySQL console):
```sql
CREATE TABLE prefix_paste (
@ -156,7 +155,7 @@ CREATE INDEX parent ON prefix_comment(pasteid);
CREATE TABLE prefix_config (
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
);
INSERT INTO prefix_config VALUES('VERSION', '1.1');
INSERT INTO prefix_config VALUES('VERSION', '1.1.1');
```
In PostgreSQL, the attachment column needs to be TEXT and not BLOB or MEDIUMBLOB.
In PostgreSQL, the data, attachment, nickname and vizhash columns needs to be TEXT and not BLOB or MEDIUMBLOB.