Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

web backend: Fix for adding acl groups in Django Admin

   - added id field to ManyToMany tables

Signed-off-by: Frank Becker <Frank.Becker@amd.com>


git-svn-id: svn://test.kernel.org/autotest/trunk@5483 592f7852-d20e-0410-864c-8624ca9c26a4
  • Loading branch information...
commit 9be1310fe64adae1f952dd2356da1366fbe55a6c 1 parent f234c9d
lmr authored
7 frontend/migrations/067_add_id_afe_acl_groups_hosts.py
... ... @@ -0,0 +1,7 @@
  1 +UP_SQL = """
  2 +ALTER TABLE afe_acl_groups_hosts ADD COLUMN id integer AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST;
  3 +"""
  4 +
  5 +DOWN_SQL = """
  6 +ALTER TABLE afe_acl_groups_hosts DROP COLUMN id;
  7 +"""
7 frontend/migrations/068_add_id_afe_acl_groups_users.py
... ... @@ -0,0 +1,7 @@
  1 +UP_SQL = """
  2 +ALTER TABLE afe_acl_groups_users ADD COLUMN id integer AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST;
  3 +"""
  4 +
  5 +DOWN_SQL = """
  6 +ALTER TABLE afe_acl_groups_users DROP COLUMN id;
  7 +"""

0 comments on commit 9be1310

Please sign in to comment.
Something went wrong with that request. Please try again.