In previous versions of magento we use
This type of code to get all the property of mage. Now in the magento 2x we do not have any mage.php file. What is require file in this version which is equivalent to mage.php?
Refer this link : http://magento.stackexchange.com/questions/86085/magento2-how-to-database-schema-upgrade