In the last few years, the number of Internet users and the number of data transactions on the web applications are not as much as today. Current and existing relational database is sufficient to set the data transaction. Today, more and more users are active on the internet and use applications that are also connected to the Internet. Then data that must be managed by a database increases. It make relational database difficult to manage it continuously then will lead to data processing problem. Finally, NoSQL is developed as a new data management system to issue this problem. Both of these database, RDBMS (Relational Database Management System) and NoSQL, have their own advantages and disadvantages in managing data. Many studies had been done to utilize advantages that provided by relational database and NoSQL database. Database migration is also an option for companies or organization to migrate big data into NoSQL database and use NoSQL functionality to handle this data. Whereas migrating data, some of information about integrity constraint that define in relational database is missing. During the migration, information of the previous database from relational database to another database can be stored in a well-designed data structure such as XML. Therefore database migration consists of two phases: schema transformation and data migration. Schema transformation could transform the integrity constraints and manage it. In this study, database migration is purpose from MySQL to HBase. Data migration tool is used to transfer data from MySQL to HBase. Furthermore, this study focuses more on maintaining the integrity constraints that lost from the data migrating process by generating schema file in HBase independently. In the end, this schema information could validate query from user based on integrity constraints that preserved.