get migration generated sql


i made some changes on my local db via migrations and dont want to copy whole db from local to server

how can i get the sql codes that migration generated to run on server and make same changes there?

thanks in advance


Not sure if I maybe misunderstood your problem? …

But what exactly is the problem with executing the migrations on the server, like you did locally?


my problem: each migration will create some sql command and execute them, i want to access those commands

and about migration on the server: unfortunately i dont access CLI on the server