Hi All,

Is there any $Subject . While writing some migration scripts for SS,
noticed one mistake that we have done was not mention names explicitly for
SQL indexes and constraints. Because of that we have to find out those
names when doing a modification to tables and due to that migration scripts
not become straightforward. So If we going to mention names explicitly we
should have a naming convention for that since it will make life easier for
maintenance.

ex: When define index for foreign key we can use something like below.

schema_db_table_fk_index_name

Cheers,


*Dhanuka Ranasinghe*

Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 715381915
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to