瀏覽代碼

„README.md“ ändern

master
Victor Giers 5 年之前
父節點
當前提交
f972632e90
共有 1 個檔案被更改,包括 18 行新增1 行删除
  1. 18
    1
      README.md

+ 18
- 1
README.md 查看文件

@@ -1,2 +1,19 @@
# pronoia
# Pronoia
Insert MySQL credentials on line 2 and a secret key for Google recaptcha on line 12.
Create the required table with this:

> SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
>
> CREATE TABLE `pronoia` (
> `id` int(11) NOT NULL,
> `name` varchar(50) NOT NULL,
> `ip` varchar(50) NOT NULL,
> `time` date NOT NULL
> ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
>
> ALTER TABLE `pronoia`
> ADD PRIMARY KEY (`id`);
>
> ALTER TABLE `pronoia`
> MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
> COMMIT;

Loading…
取消
儲存