Rename sql scripts to be more descriptive

This commit is contained in:
flyingscorpio@clevo 2022-07-06 20:49:10 +02:00
parent bdf961291f
commit c0aa7e8093
4 changed files with 7 additions and 7 deletions

View file

@ -1,13 +1,13 @@
all: init draft tableids
all: init_database import_csv_macro_table split_into_tables
init: init.mysql
sudo mysql < init.mysql
init_database: init_database.mysql
sudo mysql < init_database.mysql
draft: macro_tables.mysql
mysql -u efrei -pefrei -D bdd_project < macro_tables.mysql
import_csv_macro_table: import_csv_macro_table.mysql
mysql -u efrei -pefrei -D bdd_project < import_csv_macro_table.mysql
tableids: tableids.mysql
mysql -u efrei -pefrei -D bdd_project < tableids.mysql
split_into_tables: split_into_tables.mysql
mysql -u efrei -pefrei -D bdd_project < split_into_tables.mysql
clean:
echo 'DROP DATABASE bdd_project' | sudo mysql