nanovche / expense-tracker

Rest api with spring boot; follows youtube tutorial
0 stars 0 forks source link

Remove `expensetracker_db.sql` #2

Open velizartodorov opened 3 years ago

velizartodorov commented 3 years ago

This file is empty and those nothing - has no place in the project.

nanovche commented 3 years ago

Removed the file . The idea was to put the sql code there for others to be able to test the api against a database(guy in the tutorial did it). Is there such a practice?

velizartodorov commented 3 years ago

If it's SQL for creating the database itself, I'd rather do it in a migration with a scripting tool - easier to maintain, extend and update. Editing SQL is error prone. Checkout https://www.liquibase.org/