~free.ekanayaka/storm/infoheritance

« back to all changes in this revision

Viewing changes to tests/store/postgres.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:
93
93
                           " value1 INTEGER, value2 INTEGER)")
94
94
        connection.execute("CREATE TABLE unique_id "
95
95
                           "(id UUID PRIMARY KEY)")
 
96
        connection.execute("CREATE TABLE egg "
 
97
                           "(id SERIAL PRIMARY KEY, info_type INTEGER)")
 
98
        connection.execute("CREATE TABLE stored_egg_info (egg_id INTEGER)")
96
99
        connection.commit()
97
100
 
98
101
    def drop_tables(self):