01
- 1.4 Make scripted changes to the database
- Learning Objectives
- Database
- Make changes to a database script and commit to GitHub.
1.4 Make scripted changes to the database
Learning Objectives
By the end of this lesson you will be able to:
- Change an existing database script and commit it to GitHub.
Database
Make changes to a database script and commit to GitHub.
- From the root directory of your EC2 instance change directory to sample_app.
Open the test file as shown below.
“` $ sudo vim 20100821203213_create_users.rb
“`
Make a modification to the contents of the file and save it.
- From the root directory of your EC2 instance change directory to sample_app.
Add the file in Git
“` $ git add .
“`
Commit the file to Git
“` $ git commit -m “Modified database script”
“`
Push it to the Git master.
“` $ git push
“`