This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Aaronholla
Aaronholla

Is there a way to simply just migrate the database without updating any files or plugins?

I know there is the php artisan october:up command but that updates plugins and their files as well. And when i tried php artisan migrate it didn't seem to pickup any of the migrations of the backend or plugins.

I am just wondering because i have a read-only server and i was looking to install everything and then just run a db migration on the server to get the tables needed for the backend. I would then be able to update the pages and install updates locally and then just use the server version for user management and blog posts.

Basically i just get an exception because october:up wants to make directories and edit files for plugins. I just need a command to migrate the database only.

that0n3guy
that0n3guy

Did you try specifying path or package (like shown here: http://laravel.com/docs/migrations#running-migrations)?

daftspunky
daftspunky

php artisan october:up will only migrate the database

php artisan october:update will update the application files, plugins and migrate the database.

ctrlaltdylan
ctrlaltdylan

daftspunk said: php artisan october:update will update the application files, plugins and migrate the database.

In the plugins development section it would be really helpful if this was mentioned at the end of the documentation. Coming from Laravel it's natural to wonder how to apply the changes defined in the columns.yaml.

ctrlaltdylan
ctrlaltdylan

daftspunk said: php artisan october:update will update the application files, plugins and migrate the database.

In the plugins development section it would be really helpful if this was mentioned at the end of the documentation. Coming from Laravel it's natural to wonder how to apply the changes defined in the columns.yaml.

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.