Can someone help me using admin Voyager using git? For example, If you need to add new content type, how to add git for future push and deploy it on the remote server?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
Git - as well as SVN, Mercurial, and others - only operates on the filesystem. MySQL and Postgres databases are not technically a part of your project's filesystem, so you can't add those changes to a traditional VCS.
Outside of changing your database from MySQL / Postgres to SQLite (which incidentally is stored as a file in your project directory), Git will have nothing to do with your database.
If you really want to go through the hassle of keeping your database version controlled on the filesystem, then you can potentially look into the following:
Outside of that, you should probably look into a deployment process for your database that involves tools like Capistrano to manage what you need.