Commit 2af58a2c authored by Claude Paroz's avatar Claude Paroz
Browse files

Made sqlite introspection also show views like other backends

Refs #6730.
parent 349c12d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
        # generation.
        cursor.execute("""
            SELECT name FROM sqlite_master
            WHERE type='table' AND NOT name='sqlite_sequence'
            WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
            ORDER BY name""")
        return [row[0] for row in cursor.fetchall()]