Created
August 9, 2016 03:01
-
-
Save andidp/2890eda9e8564345356eb071c6d6069a to your computer and use it in GitHub Desktop.
questions and answers tables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+------------+------------------+------+-----+---------+----------------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+------------+------------------+------+-----+---------+----------------+ | |
| id | int(10) unsigned | NO | PRI | NULL | auto_increment | | |
| title | varchar(255) | NO | | NULL | | | |
| body | mediumtext | NO | | NULL | | | |
| created_at | timestamp | YES | | NULL | | | |
| updated_at | timestamp | YES | | NULL | | | |
+------------+------------------+------+-----+---------+----------------+ | |
+-------------+------------------+------+-----+---------+----------------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+-------------+------------------+------+-----+---------+----------------+ | |
| id | int(10) unsigned | NO | PRI | NULL | auto_increment | | |
| question_id | int(10) unsigned | NO | MUL | 0 | | | |
| title | varchar(255) | NO | | NULL | | | |
| body | text | NO | | NULL | | | |
| created_at | timestamp | YES | | NULL | | | |
| updated_at | timestamp | YES | | NULL | | | |
+-------------+------------------+------+-----+---------+----------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment