mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 15:54:55 +01:00
Remove foreing key from auditory.
This commit is contained in:
parent
5c94291b06
commit
0a74e73c80
@ -66,8 +66,7 @@ user_id INTEGER NOT NULL,
|
|||||||
CREATE TABLE ACCESS_AUDITORY (
|
CREATE TABLE ACCESS_AUDITORY (
|
||||||
id INTEGER NOT NULL IDENTITY,
|
id INTEGER NOT NULL IDENTITY,
|
||||||
user_id INTEGER NOT NULL,
|
user_id INTEGER NOT NULL,
|
||||||
login_date date,
|
login_date date
|
||||||
--FOREIGN KEY(user_id) REFERENCES USER(id) // Temporally disabled. Exception during first login. Need review..
|
|
||||||
);
|
);
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
@ -68,8 +68,7 @@ FOREIGN KEY(user_id) REFERENCES USER(colaborator_id) ON DELETE CASCADE ON UPDATE
|
|||||||
CREATE TABLE ACCESS_AUDITORY (
|
CREATE TABLE ACCESS_AUDITORY (
|
||||||
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||||
login_date date,
|
login_date date,
|
||||||
user_id INTEGER NOT NULL,
|
user_id INTEGER NOT NULL
|
||||||
FOREIGN KEY(user_id) REFERENCES USER(id) ON DELETE CASCADE ON UPDATE NO ACTION
|
|
||||||
) CHARACTER SET utf8 ;
|
) CHARACTER SET utf8 ;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
Loading…
Reference in New Issue
Block a user