Menu

Database

Tim Van Patten

The redditIWidget uses the postgresql database to hold the information about a user that's necessary to query Reddit.

Database Name

The server is currently configured to use a database that's named "redditIWidget". Your database must be named the same, or you will need to update the server code.

Database User

The server is currently configured to use a database user that's named "postgres". Your database must have a user that's named the same, or you will need to update the server code.

Database Table

The server is currently configured to use a database table that's named "redditors". Your database must have a table that's named the same, or you will need to update the server code.

The database table must contain the following columns:

redditIWidget=> \d redditors;
Table "public.redditors"
Column | Type | Modifiers
---------------+-------------------+-----------
user_name | character varying |
access_token | character varying |
refresh_token | character varying |


Related

Wiki: Home