Commit 948ce78e authored by Petr's avatar Petr

Merge branch 'proposed' into 'master'

data migration, view partials

See merge request !8
parents 38af0dd5 59e2c20f
......@@ -175,6 +175,22 @@ It's **forbidden** to overwrite lang keys from Redmine or Easy Project.
All text **must use** I18n and must be translated at least to EN.
##### Active record migration
In Easy Project we recognize 2 types of migrations, data and schema.
Schema migrations handle only changes to schema of database.
Data migrations which are always in **db/data** folder handle only changes of data.
Only exception if removal of db entities, eg. columns which could implemented in either type.
##### Overwriting of template / partial
One plugin can completely replace template / partial of plugin which loaded sooner. This pattern could be used
to implement changes, but only if you are rewriting more than 50 % of contents. In case of small addition create or use
[hook](http://www.redmine.org/projects/redmine/wiki/Hooks). Hook must be created in appropriate repository, generally in core.
##### Syntax checking
Syntax error is not tolerated. MR with syntax errors in one of the supported version of language is returned.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment