You can also run ".schema" from the sqlite command line to get an SQL description of the database schema.
The elliptic curves database is not a SQL database, so it doesn't have a "schema" as such -- it's just a bunch of Python objects.
for any database that is a sqlite3 database, you could just use sqlite3 (the command line tool) to output the schema for the database (by doing sage -sh then sqlite3 databasefile).  You'll have to find the database file in the SAGE_ROOT/data/ directory.
sage -sh
cd $SAGE_ROOT/data/graphs/
sqlite3 graphs.db
sqlite> select * from sqlite_master;
table|degrees|degrees|2|CREATE TABLE degrees(
...
You can also run ".schema" from the sqlite command line to get an SQL description of the database schema.
Asked: 2010-08-20 18:04:37 +0100
Seen: 1,687 times
Last updated: Aug 20 '10
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.