Added sql patches to migrations and Sessions

Summary: Now we can run migrations very easily

Test Plan: Manual testing

Reviewers: bogdan2412

CC: echipa-infoarena

Differential Revision: https://hackers.infoarena.ro/D26