mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Added a missing serial and trigger
This commit is contained in:
parent
615231eafd
commit
2396ba4d9d
@ -1858,6 +1858,9 @@ CREATE TABLE tcategory (
|
||||
name VARCHAR2(600) DEFAULT ''
|
||||
);
|
||||
|
||||
CREATE SEQUENCE tcategory_s INCREMENT BY 1 START WITH 1;
|
||||
CREATE OR REPLACE TRIGGER tcategory_inc BEFORE INSERT ON tcategory REFERENCING NEW AS NEW FOR EACH ROW BEGIN SELECT tcategory_s.nextval INTO :NEW.ID FROM dual; END tcategory_inc;;
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tupdate_settings`
|
||||
-- ---------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user