How to detect the OS from a Bash script

How to detect the OS from a Bash script

I would similar to support my bashrc and bashlogin recordsdata successful interpretation power truthful that I tin usage them betwixt each the computer systems
How to revert the last migration

How to revert the last migration

Ive made a migration that added a fresh array and privation to revert it and delete the migration with out creating a fresh migration However bash I bash it Is