Commit 00c5b0d
fix(sqlite): declare _tenant as INT(11) UNSIGNED for schema parity
testSchemaAttributes expects the shared-tables _tenant column to report
dataType=int and columnType in [int unsigned, int(11) unsigned], to
match what MariaDB's INFORMATION_SCHEMA returns. The previous INTEGER
declaration came back from PRAGMA as 'integer', which parseSqliteColumnType
mapped to dataType=integer. Declaring the column with the quoted MariaDB
shape makes PRAGMA echo it back verbatim — INTEGER affinity is preserved
because the type still contains "INT".
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 35b80e7 commit 00c5b0d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments