3

To create additional database tables for Pset 7 (in addition to "users" which is already set up), should I create new tables directly within phpLiteAdmin, or by Python/SQL code in "application.py" in a way that it checks if the table exists, and if not it creates it and provides the parameters for each row.

What approach would you recommend?

1 Answer 1

3

You create the table in phpliteadmin and set the number of entries. Then you populate the table in application.py with INSERT.

1
  • Thank you for your guidance
    – Rachel
    Mar 11, 2017 at 23:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .