~free.ekanayaka/storm/infoheritance

« back to all changes in this revision

Viewing changes to tests/store/sqlite.py

  • Committer: Free Ekanayaka
  • Date: 2011-10-25 10:17:32 UTC
  • Revision ID: free.ekanayaka@canonical.com-20111025101732-chgjhm27mg3rw8o4
Add polymorphic support to Reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                           " value1 INTEGER, value2 INTEGER)")
66
66
        connection.execute("CREATE TABLE unique_id "
67
67
                           "(id VARCHAR PRIMARY KEY)")
 
68
        connection.execute("CREATE TABLE egg "
 
69
                           "(id INTEGER PRIMARY KEY, info_type INTEGER)")
 
70
        connection.execute("CREATE TABLE stored_egg_info "
 
71
                           "(egg_id INTEGER)")
68
72
        connection.commit()
69
73
 
70
74
    def drop_tables(self):