1
0
Fork 0
picobloggingsys/initialize-tables.md

12 lines
224 B
Markdown
Raw Normal View History

2016-10-31 02:03:23 +08:00
Log in to your MySQL server, then run the following:
```
CREATE TABLE microblog (
id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
2016-10-31 02:43:14 +08:00
txt VARCHAR(320) NOT NULL,
2016-10-31 02:49:05 +08:00
tim VARCHAR(40) NOT NULL,
pluses INT(6) UNSIGNED DEFAULT 0
2016-10-31 02:03:23 +08:00
)
```