mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-01-29 17:28:27 +00:00
Updated Manual install (markdown)
parent
d4cb952556
commit
9e2bea111a
|
@ -62,7 +62,7 @@ You will next need to setup the following 6 tables:
|
||||||
CREATE TABLE images (
|
CREATE TABLE images (
|
||||||
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||||
imagename VARCHAR(50) UNIQUE,
|
imagename VARCHAR(50) UNIQUE,
|
||||||
alt VARCHAR(255),
|
alt TEXT,
|
||||||
tags VARCHAR(255),
|
tags VARCHAR(255),
|
||||||
author VARCHAR(50),
|
author VARCHAR(50),
|
||||||
last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
|
@ -119,7 +119,7 @@ CREATE TABLE bans (
|
||||||
```
|
```
|
||||||
CREATE TABLE groups (
|
CREATE TABLE groups (
|
||||||
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||||
image_list VARCHAR(255),
|
image_list TEXT,
|
||||||
author VARCHAR(50),
|
author VARCHAR(50),
|
||||||
last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||||
|
|
Loading…
Reference in a new issue