Add a migrate fragment for the configuration database to move ajaxplorer props to pydio

tags/0.2.0
Daniel Berteaud 11 years ago
parent 034f9fc680
commit 21aa5deb60
  1. 10
      root/etc/e-smith/db/configuration/migrate/pydio

@ -0,0 +1,10 @@
{
my $ajxp = $DB->get("ajaxplorer") or return;
my $pydio = $DB->get("pydio") ||
$DB->new_record("pydio", { type => "webapp" });
$pydio->merge_props($ajxp->props);
$ajxp->delete;
}
Loading…
Cancel
Save