@requires_sqlite
def test_default_values_extended(self):
    models = self.introspector.generate_models()
    eventlog = models['event_log']
    create_table = 'CREATE TABLE IF NOT EXISTS "event_log" ("id" INTEGER NOT NULL PRIMARY KEY, "data" VARCHAR(255) NOT NULL DEFAULT \'\', "timestamp" DATETIME NOT NULL DEFAULT current_timestamp, "flags" INTEGER NOT NULL DEFAULT 0, "misc" TEXT NOT NULL DEFAULT \'foo\')'
    self.assertSQL(eventlog._schema._create_table(), create_table, [])
    eventlog.drop_table()
    eventlog.create_table()
    models = self.introspector.generate_models()
    eventlog = models['event_log']
    self.assertSQL(eventlog._schema._create_table(), create_table, [])
@requires_sqlite
def test_default_values_extended(self):
    models = self.introspector.generate_models()
    eventlog = models['event_log']
    create_table = 'CREATE TABLE IF NOT EXISTS "event_log" ("id" INTEGER NOT NULL PRIMARY KEY, "data" VARCHAR(255) NOT NULL DEFAULT \'\', "timestamp" DATETIME NOT NULL DEFAULT current_timestamp, "flags" INTEGER NOT NULL DEFAULT 0, "misc" TEXT NOT NULL DEFAULT \'foo\')'
    self.assertSQL(eventlog._schema._create_table(), create_table, [])
    eventlog.drop_table()
    eventlog.create_table()
    models = self.introspector.generate_models()
    eventlog = models['event_log']
    self.assertSQL(eventlog._schema._create_table(), create_table, [])