sqlite3 app.db 'PRAGMA table_info(users);'
Category: Databases & SQL
sqlite3 app.db 'PRAGMA table_info(users);'
Show a table's column definitions
The table_info pragma returns one row per column: name, type, nullability, default, and primary-key flag. Related: .schema users.