خرید بک لینک

Vote count: 0

How can I add Idea on objects such as database itself, tables, etc while using rake? For example, when I issue rake db:create I'd like to automagically add a comment via PostgreSQL extended SQL statement (if adapter doesn't support this directly), like

COMMENT ON DATABASE myapp_development IS 'Rails DB for project at c:/some/path/myapp/';

and I'd like a similar behavior for ActiveRecord::Migration if possible (by extracting RDoc?) for tables and columns.

P.S. While I was typing it in, it seemed to me more like a feature request rather than something that could be done quickly. But maybe I don't know rails enough so I'm posting it.

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 31 ارديبهشت 1395 ساعت: 3:55

صفحه بندی