mirror of
https://github.com/jazzband/django-authority.git
synced 2026-04-02 06:20:31 +00:00
14 lines
No EOL
378 B
PL/PgSQL
14 lines
No EOL
378 B
PL/PgSQL
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;
|
|
UPDATE "authority_permission"
|
|
SET "approved" = 1;
|
|
UPDATE "authority_permission"
|
|
SET "date_approved" = DATETIME("NOW");
|
|
COMMIT; |