[ckan-dev] Purge a deleted group CKAN 2.3
David Miller
david at openhealthcare.org.uk
Mon Mar 16 19:19:46 UTC 2015
Do you consider `$ sudo -u postgres psql` to be the CKAN interface?
update group_revision set state='active' where name='my-group' and current=true;
update "group" set state='active' where name='my-group';
Sure you could write a fairly trivial paster command.
On 16 March 2015 at 19:14, Jorge Pantoja <jorgepantojam at gmail.com> wrote:
> Hello everyone,
>
> How I can purge a group that has a "deleted" state on the database?
>
> I need this because i'm trying to create a group, using the name of a
> deleted group by error, but i can't.
>
> I solved this through the database (update public.group set
> name='transporte.old' where name='transporte';).
>
>
> Is there a way to do this through the ckan interface?
>
>
> Thanks for your help,
>
> Jorge
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
--
Love regards etc
David Miller
CTO Open Healthcare UK
www.openhealthcare.org.uk
@thatdavidmiller <http://twitter.com/thatdavidmiller>
07854 880 883
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150316/fafe6a93/attachment-0003.html>
More information about the ckan-dev
mailing list