We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

How create comments for column?

I undestand how create comments for column?

The documentation is no.

ALTER TABLE `test`
    ADD COLUMN `foo` TEXT NULL DEFAULT NULL COMMENT 'Here your comment';


25.0k

) I need a solution to phalcone.



43.9k
Accepted
answer

Hi,

it seems that it is not implemented: https://docs.phalcon.io/en/latest/reference/db.html#creating-tables

(see options for creating a column)

But you can still do that with raw sql as suggested above : https://docs.phalcon.io/en/latest/reference/phql.html#using-raw-sql

Collecting data for making columns is a very difficult job. You have to keep in mind a lot of things like dissertation service as well. That the data you are collecting should be free from plagiarism, it is informative. Whether the information you are providing is credible or not. You have to check the credibility of your content as well.