mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-04 21:54:47 +00:00
17 lines
439 B
MySQL
17 lines
439 B
MySQL
|
|
BEGIN;
|
||
|
|
-- Application: authority
|
||
|
|
-- Model: Permission
|
||
|
|
ALTER TABLE `authority_permission`
|
||
|
|
ADD `date_requested` DATETIME;
|
||
|
|
ALTER TABLE `authority_permission`
|
||
|
|
ADD `approved` BOOL;
|
||
|
|
ALTER TABLE `authority_permission`
|
||
|
|
ADD `date_approved` DATETIME;
|
||
|
|
ALTER TABLE `authority_permission`
|
||
|
|
MODIFY `object_id` INTEGER UNSIGNED;
|
||
|
|
UPDATE `authority_permission`
|
||
|
|
SET `approved` = TRUE;
|
||
|
|
UPDATE `authority_permission`
|
||
|
|
SET `date_approved` = NOW();
|
||
|
|
COMMIT;
|