Commits

Anonymous committed 537cc05 Draft

it is sensible to add NCHAR and NVARCHAR as recognized data types for sqlite dialect because they are widely used and because of the type affinity mechanism of sqlite

  • Participants
  • Parent commits 17cab4a

Comments (0)

Files changed (1)

File lib/sqlalchemy/dialects/sqlite/base.py

     'TIME': sqltypes.TIME,
     'TIMESTAMP': sqltypes.TIMESTAMP,
     'VARCHAR': sqltypes.VARCHAR,
+    'NVARCHAR': sqltypes.NVARCHAR,
+    'NCHAR': sqltypes.NCHAR,
 }