Use SQL highlighting

This commit is contained in:
rugk 2017-04-19 00:49:59 +02:00
parent f514381aa5
commit fa2dde0b1f
No known key found for this signature in database
GPG Key ID: 05D40A636AFAB34D
1 changed files with 32 additions and 30 deletions

View File

@ -64,7 +64,7 @@ process (see also
> #### PATH Example > #### PATH Example
> Your PrivateBin installation lives in a subfolder called "paste" inside of > Your PrivateBin installation lives in a subfolder called "paste" inside of
> your document root. The URL looks like this: > your document root. The URL looks like this:
> http://example.com/paste/ > https://example.com/paste/
> >
> The full path of PrivateBin on your webserver is: > The full path of PrivateBin on your webserver is:
> /home/example.com/htdocs/paste > /home/example.com/htdocs/paste
@ -118,6 +118,7 @@ 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 `prefix_` with your own table prefix and create the table schema with phpMyAdmin
or the MYSQL console): or the MYSQL console):
```sql
CREATE TABLE prefix_paste ( CREATE TABLE prefix_paste (
dataid CHAR(16) NOT NULL, dataid CHAR(16) NOT NULL,
data BLOB, data BLOB,
@ -147,3 +148,4 @@ or the MYSQL console):
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id) 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');
```