Using SQLAlchemy, I've written some models using declarative_base (see
link)

(Go to line 191 beginning with # MY STUFF)
http://dpaste.com/hold/48879/

Below shows the user identity tables for what TG already created.
After running tg-admin sql create, the database is still the same...

(tg1.1env)a...@adam-laptop:~/tg1.1env/Mini-Blog-test1$ sqlite3
devdata.sqlite
SQLite version 3.6.10
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
group_permission  tg_group          user_group        visit_identity
permission        tg_user           visit
sqlite> .exit
(tg1.1env)a...@adam-laptop:~/tg1.1env/Mini-Blog-test1$ tg-admin sql
create
Creating tables at sqlite:////home/adam/tg1.1env/Mini-Blog-test1/devdata.sqlite
(tg1.1env)a...@adam-laptop:~/tg1.1env/Mini-Blog-test1$ sqlite3
devdata.sqlite
SQLite version 3.6.10
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
group_permission  tg_group          user_group        visit_identity
permission        tg_user           visit
sqlite> .exit

I don't know why it won't add the tables.  What am I missing?

Thank you!
Adam

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to