~free.ekanayaka/storm/infoheritance

« back to all changes in this revision

Viewing changes to tests/store/mysql.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:
79
79
        connection.execute("CREATE TABLE unique_id "
80
80
                           "(id VARCHAR(36) PRIMARY KEY) "
81
81
                           "ENGINE=InnoDB")
 
82
        connection.execute("CREATE TABLE egg "
 
83
                           "(id INT PRIMARY KEY AUTO_INCREMENT,"
 
84
                           " info_type INT)")
 
85
        connection.execute("CREATE TABLE stored_egg_info (egg_id INT)")
82
86
        connection.commit()
83
87
 
84
88