forked from MetaTunes/ProcessDbMigrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProcessDbMigrate.info.php
23 lines (21 loc) · 1.11 KB
/
ProcessDbMigrate.info.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php namespace ProcessWire;
$info = array(
'permanent' => false, // true if module is permanent and thus not uninstallable (3rd party modules should specify 'false')
'title' => 'ProcessDbMigrate',
'summary' => 'Manage migrations via the PW GUI',
'comments' => 'Document (manually or by automated change tracking) and manage migrations. Allow roll-back and database comparisons.',
'author' => 'Mark Evens',
'version' => "2.0.19",
// Versions >= 0.1.0 use FieldtypeDbMigrateRuntime not RuntimeOnly. Versions >= 1.0.0 have change tracking (scope at individual migration level for v2.0.0+).
'autoload' => true,
'singular' => true,
'page' => array( //install/uninstall a page for this process automatically
'name' => 'dbmigrations', //name of page to create
'parent' => 'setup', // parent name (under admin)
'title' => 'Database Migrations', // title of page
),
'icon' => 'upload',
'requires' => 'PHP>=8.0', 'ProcessWire>=3.0.172',
'installs' => 'FieldtypeDbMigrateRuntime', // Runtime field type for use with this module
'permission' => 'admin-dbMigrate', // ToDo refine permissions?
);