finish db migration
migrate existed code to fit new db schema
migrate existed views to fit new db schema
enable set limit when query registry_settings
Merge pull request #1 from TieWei/develop

Finished db migration with existed features and views