title: How do I run Rails CLI commands for a remote database?
body: <p>I have a generator API and a main API and i want to delete the users of the main API database...can i run rails db:setup for this remote database?
  i've searched alot about this and read many articles including rails guide but yet found nothing.</p>
  
  <p>i tried to get all users and then delete them according to their id but it didn't work. so i want to use rails db:setup to keep only the first user and delete the others</p>
  
  <p><strong>seed.rb (in remote API)</strong></p>
  
  <pre><code>User.create!(name: "joe", contact_email: "admin@lola.com", password: "123123", is_lola_admin: true)
  </code></pre>