Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
mysql> SHOW COLUMNS FROM mybbs;
+------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+------------------+------+-----+---------+----------------+
| id | int(11) unsigned | NO | PRI | NULL | auto_increment |
| name | varchar(50) | NO | | NULL | |
| message | varchar(400) | NO | | NULL | |
| image | varchar(50) | NO | | NULL | |
| ip | varchar(39) | NO | | NULL | |
| created_at | int(11) | YES | | NULL | |
| updated_at | int(11) | YES | | NULL | |
+------------+------------------+------+-----+---------+----------------+
7 rows in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment