diff options
| author | Mantavya Gajjar <mga@tinyerp.com> | 2007-03-29 07:20:07 +0000 |
|---|---|---|
| committer | Mantavya Gajjar <mga@tinyerp.com> | 2007-03-29 07:20:07 +0000 |
| commit | 867fae5dd749d7452464fdac59fdcd4bc75f999a (patch) | |
| tree | 386ab1ed6b65d6b43e22ffd438aa787191d6f5c0 /bin/addons/base/base.sql | |
| parent | 3e2e9ae6d39f6cf99402fa84849f9d3755395f3e (diff) | |
BASE: add perm_id to ir_model and ir_model_fields
bzr revid: mga@tinyerp.com-1e1ec255e5683c4d29674d7332b4cde24b37500d
Diffstat (limited to 'bin/addons/base/base.sql')
| -rw-r--r-- | bin/addons/base/base.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/addons/base/base.sql b/bin/addons/base/base.sql index 8c31121564c..e62d1c748c9 100644 --- a/bin/addons/base/base.sql +++ b/bin/addons/base/base.sql @@ -42,6 +42,7 @@ create table ir_values CREATE TABLE ir_model ( id serial, + perm_id int references perm on delete set null, model varchar(64) DEFAULT ''::varchar NOT NULL, name varchar(64), info text, @@ -50,6 +51,7 @@ CREATE TABLE ir_model ( CREATE TABLE ir_model_fields ( id serial, + perm_id int references perm on delete set null, model varchar(64) DEFAULT ''::varchar NOT NULL, model_id int references ir_model, name varchar(64) DEFAULT ''::varchar NOT NULL, |
