6e5e917796bf8613338d7c77f9d84b54a28c9d00,src/schema.py,,bayesdb_install_schema,#Any#,93

Before Change


        // XXX One of these days, we"ll have to consider making the
        // upgrade something to be explicitly requested by the user
        // when old versions persist.
        db.executescript("BEGIN; %s; COMMIT;" % (bayesdb_schema_5to6,))
        user_version = 6
    if user_version != 6:
        raise IOError("Unknown bayeslite format version: %d" % (user_version,))

After Change


        // XXX One of these days, we"ll have to consider making the
        // upgrade something to be explicitly requested by the user
        // when old versions persist.
        db.executescript("BEGIN; %s; COMMIT;" % (bayesdb_schema_upgrade[user_version],))
        user_version += 1
    if user_version != 7:
        raise IOError("Unknown bayeslite format version: %d" % (user_version,))
    db.execute("PRAGMA foreign_keys = ON")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: probcomp/bayeslite
Commit Name: 6e5e917796bf8613338d7c77f9d84b54a28c9d00
Time: 2015-09-29
Author: tibbetts@innocuous.org
File Name: src/schema.py
Class Name:
Method Name: bayesdb_install_schema


Project Name: probcomp/bayeslite
Commit Name: 6bc3dcda738601be9741a26ef8fa6429d78d644a
Time: 2015-02-20
Author: riastradh+probcomp@csail.mit.edu
File Name: src/schema.py
Class Name:
Method Name: bayesdb_install_schema


Project Name: probcomp/bayeslite
Commit Name: d8cf209653d52554fbd1f4ec7f0f00bc19cd82fe
Time: 2015-03-25
Author: riastradh+probcomp@csail.mit.edu
File Name: src/schema.py
Class Name:
Method Name: bayesdb_install_schema