Skip to content
Migration Files for a fresh install of Craft 3 to quickly create a new project
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
migrations
.gitignore
README.md
icon-mask.svg
icon.svg

README.md

Craft Migrations

Migration Files for a fresh install of Craft 3 to quickly create a new project

Logo

Requirements

These files require Craft CMS 3.0.0-beta.23 or later.

Installation

Upload the migrations folder to your Craft 3 project at the same level as your templates and plugins folders.

Run them under Utilities => Migrations to create a default set of fields, volumes, and plugins in your project. Or you can run the following command:

./craft migrate/up

To revert them, use the following command for each file:

./craft migrate/down

Customisation

Please also feel free to use these as a starting point to write your own custom migration files.

You can’t perform that action at this time.