automatic add sequence to all table in postgresql with php script [laravel] run this code in laravel change owner or schema or ... code steps: get all tables get max id in each table