facg3 / MWM-Shop_Project

2 stars 1 forks source link

Unnecessary condition when creating table #10

Closed abdhalees closed 6 years ago

abdhalees commented 6 years ago

Since in line 3 you're droping the table, you don't have to check if it doesn't exist in line 4.

https://github.com/facg3/MWM-Shop_Project/blob/ed635ae78424fb61b8a6e2ee5c0c38d484307378/src/database/build.sql#L3 https://github.com/facg3/MWM-Shop_Project/blob/ed635ae78424fb61b8a6e2ee5c0c38d484307378/src/database/build.sql#L4

MahmoudMH commented 6 years ago

DONE! thanks @abdhalees