SQLite and PostgreSql longtext

Posted by Nik on Stack Overflow See other posts from Stack Overflow or by Nik
Published on 2010-05-05T02:10:31Z Indexed on 2010/05/05 2:18 UTC
Read the original article Hit count: 438

Filed under:
|
|

Hello all,

Does anyone know how to change a column in SQLite and PostgreSQL to LONGTEXT?

I have done so in MySQL successfully with: "ALTER TABLE projects MODIFY description LONGTEXT;"

But this clause doesn't seem to work on SQLite. I tried hard to find documentation on PostgreSQL, but that site's format really makes people puke. SQLite's website is better but the only command I find relevant, alter table, doesn't seem to support changing column data type at all. ( infact, it doesn't even allow changing column name!!!)

Thanks all!

© Stack Overflow or respective owner

Related posts about migration

Related posts about sqlite