Skip to content

Commit b15608c

Browse files
committed
translates table to html
1 parent 038f629 commit b15608c

1 file changed

Lines changed: 35 additions & 9 deletions

File tree

README.md

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,41 @@ CREATE TABLE bears (
6262

6363
Your columns should be the following types:
6464

65-
|column | type |
66-
|-------|-------|
67-
|id |integer| <-- Make sure this is the table's primary key
68-
|name |text |
69-
|age |integer|
70-
|sex |text | <-- Should be a single, capitalized letter: 'M' or 'F'
71-
|color |text |
72-
|temperament | text|
73-
|alive |boolean|
65+
<table border="1" cellpadding="4" cellspacing="0">
66+
<tr>
67+
<th>column</th>
68+
<th>type</th>
69+
</tr>
70+
71+
<tr>
72+
<td>id</td>
73+
<td>integer</td>
74+
</tr>
75+
<tr>
76+
<td>name</td>
77+
<td>text</td>
78+
</tr>
79+
<tr>
80+
<td>age</td>
81+
<td>integer</td>
82+
</tr>
83+
<tr>
84+
<td>sex</td>
85+
<td>text</td>
86+
</tr>
87+
<tr>
88+
<td>color</td>
89+
<td>text</td>
90+
</tr>
91+
<tr>
92+
<td>temperament</td>
93+
<td>text</td>
94+
</tr>
95+
<tr>
96+
<td>alive</td>
97+
<td>boolean</td>
98+
</tr>
99+
</table>
74100

75101
Read about [SQLite3 Datatypes](https://www.sqlite.org/datatype3.html) to determine what your insert values are going to be. Be sure to pay attention to how booleans are expressed in SQLite3.
76102

0 commit comments

Comments
 (0)