I'm new to iOS programming.

I want to know how a database is created on a real iPhone device for the first time. 

I have created a database from the terminal and copied it to the project directory and used it for insert/update/delete/etc as shown in many of the tutorials. But how will it be created when I run the app on a real device?