tursodatabase / libsql-shell-go

7 stars 7 forks source link

.schema may print uglified version of table #164

Open glommer opened 4 months ago

glommer commented 4 months ago

I have pasted a schema from slack into my shell, and as a result, although valid, the schema was pasted very botched, with added spaces all over, many newlines, etc.

Example:


created_at DATETIME,

updated_at DATETIME,

PRIMARY KEY (id)

);

I would expect that when then typing ".schema" I'd see a tiny beautiful version of it back, but instead I got the same exact text I put in, back to me.