mirror of
https://github.com/TrentSPalmer/todo_app_flask.git
synced 2024-11-26 17:51:30 -08:00
add README
This commit is contained in:
parent
e5de9a1d34
commit
75e4743a3a
262
README.md
Normal file
262
README.md
Normal file
@ -0,0 +1,262 @@
|
||||
## tables in your postgresql todo database
|
||||
<table border="1">
|
||||
<caption>List of relations</caption>
|
||||
<tr>
|
||||
<th align="center">Schema</th>
|
||||
<th align="center">Name</th>
|
||||
<th align="center">Type</th>
|
||||
<th align="center">Owner</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">category</td>
|
||||
<td align="left">table</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">category_id_seq</td>
|
||||
<td align="left">sequence</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">contributor</td>
|
||||
<td align="left">table</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">contributor_id_seq</td>
|
||||
<td align="left">sequence</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">email_white_list</td>
|
||||
<td align="left">table</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">email_white_list_id_seq</td>
|
||||
<td align="left">sequence</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">task</td>
|
||||
<td align="left">table</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">public</td>
|
||||
<td align="left">task_id_seq</td>
|
||||
<td align="left">sequence</td>
|
||||
<td align="left">todo</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>(8 rows)<br />
|
||||
</p>
|
||||
|
||||
### email_white_list
|
||||
|
||||
<table border="1">
|
||||
<caption>Table "public.email_white_list"</caption>
|
||||
<tr>
|
||||
<th align="center">Column</th>
|
||||
<th align="center">Type</th>
|
||||
<th align="center">Collation</th>
|
||||
<th align="center">Nullable</th>
|
||||
<th align="center">Default</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">id</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left">nextval('email_white_list_id_seq'::regclass)</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">email</td>
|
||||
<td align="left">character varying(120)</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>Indexes:<br />
|
||||
"email_white_list_pkey" PRIMARY KEY, btree (id)<br />
|
||||
"email_white_list_email_key" UNIQUE CONSTRAINT, btree (email)<br />
|
||||
</p>
|
||||
|
||||
### contributor
|
||||
|
||||
<table border="1">
|
||||
<caption>Table "public.contributor"</caption>
|
||||
<tr>
|
||||
<th align="center">Column</th>
|
||||
<th align="center">Type</th>
|
||||
<th align="center">Collation</th>
|
||||
<th align="center">Nullable</th>
|
||||
<th align="center">Default</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">id</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left">nextval('contributor_id_seq'::regclass)</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">name</td>
|
||||
<td align="left">character varying(64)</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">email</td>
|
||||
<td align="left">character varying(120)</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">password_hash</td>
|
||||
<td align="left">character varying(128)</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">totp_key</td>
|
||||
<td align="left">character(16)</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">use_totp</td>
|
||||
<td align="left">boolean</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">false</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>Indexes:<br />
|
||||
"contributor_pkey" PRIMARY KEY, btree (id)<br />
|
||||
"contributor_email_key" UNIQUE CONSTRAINT, btree (email)<br />
|
||||
"contributor_name_key" UNIQUE CONSTRAINT, btree (name)<br />
|
||||
</p>
|
||||
|
||||
### category
|
||||
|
||||
<table border="1">
|
||||
<caption>Table "public.category"</caption>
|
||||
<tr>
|
||||
<th align="center">Column</th>
|
||||
<th align="center">Type</th>
|
||||
<th align="center">Collation</th>
|
||||
<th align="center">Nullable</th>
|
||||
<th align="center">Default</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">id</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left">nextval('category_id_seq'::regclass)</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">name</td>
|
||||
<td align="left">character varying(128)</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">contributor_id</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">hidden</td>
|
||||
<td align="left">boolean</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">false</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>Indexes:<br />
|
||||
"category_pkey" PRIMARY KEY, btree (id)<br />
|
||||
"category_name_key" UNIQUE CONSTRAINT, btree (name)<br />
|
||||
</p>
|
||||
|
||||
### task
|
||||
|
||||
<table border="1">
|
||||
<caption>Table "public.task"</caption>
|
||||
<tr>
|
||||
<th align="center">Column</th>
|
||||
<th align="center">Type</th>
|
||||
<th align="center">Collation</th>
|
||||
<th align="center">Nullable</th>
|
||||
<th align="center">Default</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">id</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left">nextval('task_id_seq'::regclass)</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">content</td>
|
||||
<td align="left">text</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">contributor_id</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">catid</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">not null</td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">done</td>
|
||||
<td align="left">boolean</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
<td align="left">false</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">priority</td>
|
||||
<td align="left">integer</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="left">timestamp</td>
|
||||
<td align="left">timestamp without time zone</td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
<td align="left"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>Indexes:<br />
|
||||
"task_pkey" PRIMARY KEY, btree (id)<br />
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user