Repository add unique constraint for jnt_use_doc
This commit is contained in:
parent
28c32a4d01
commit
0097ba431d
1 changed files with 9 additions and 2 deletions
|
|
@ -1,6 +1,13 @@
|
|||
alter table action_gestion drop ag_ref_ag_id;
|
||||
--- repository insert into theme (the_name,the_filestyle) values ('Classic 692','style-r692.css');
|
||||
|
||||
|
||||
alter table action_gestion drop ag_ref_ag_id;
|
||||
/* --- repository
|
||||
-- add style
|
||||
insert into theme (the_name,the_filestyle) values ('Classic 692','style-r692.css');
|
||||
|
||||
-- add constraint
|
||||
alter table jnt_use_dos add CONSTRAINT use_id_dos_id_uniq UNIQUE (use_id,dos_id);
|
||||
*/
|
||||
create sequence tmp_pcmn_id_seq;
|
||||
ALTER TABLE tmp_pcmn ADD COLUMN id bigint;
|
||||
update tmp_pcmn set id=nextval('tmp_pcmn_id_seq');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue