mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02: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 (
|
||||
id INTEGER NOT NULL IDENTITY,
|
||||
user_id INTEGER NOT NULL,
|
||||
login_date date,
|
||||
--FOREIGN KEY(user_id) REFERENCES USER(id) // Temporally disabled. Exception during first login. Need review..
|
||||
login_date date
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
|
@ -68,8 +68,7 @@ FOREIGN KEY(user_id) REFERENCES USER(colaborator_id) ON DELETE CASCADE ON UPDATE
|
||||
CREATE TABLE ACCESS_AUDITORY (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
login_date date,
|
||||
user_id INTEGER NOT NULL,
|
||||
FOREIGN KEY(user_id) REFERENCES USER(id) ON DELETE CASCADE ON UPDATE NO ACTION
|
||||
user_id INTEGER NOT NULL
|
||||
) CHARACTER SET utf8 ;
|
||||
|
||||
COMMIT;
|
Loading…
Reference in New Issue
Block a user