Skip to content

Commit eb888e4

Browse files
committed
删除重复的sql
1 parent e4da77a commit eb888e4

File tree

1 file changed

+27
-37
lines changed

1 file changed

+27
-37
lines changed

nacos_oracle_11.sql

+27-37
Original file line numberDiff line numberDiff line change
@@ -157,100 +157,90 @@ INSERT INTO "ROLES" ( "USERNAME", "ROLE" ) VALUES ( 'nacos', 'ROLE_ADMIN' );
157157
create sequence seq_config_info;
158158
create or replace trigger tg_config_info
159159
--before:执行DML等操作之前触发
160-
before insert on config_info
160+
before insert on config_info
161161
--行级触发器
162-
for each row
163-
begin
162+
for each row
163+
begin
164164
select seq_config_info.nextval into :new.id from dual;
165165
end;
166166
/
167167
create sequence seq_config_tags_relation;
168168
create or replace trigger tg_config_tags_relation
169169
--before:执行DML等操作之前触发
170-
before insert on config_tags_relation
170+
before insert on config_tags_relation
171171
--行级触发器
172-
for each row
173-
begin
172+
for each row
173+
begin
174174
select seq_config_tags_relation.nextval into :new.nid from dual;
175175
end;
176176
/
177177
create sequence seq_config_info_aggr;
178178
create or replace trigger tg_config_info_aggr
179179
--before:
180-
before insert on config_info_aggr
180+
before insert on config_info_aggr
181181
--行级触发器
182-
for each row
183-
begin
182+
for each row
183+
begin
184184
select seq_config_info_aggr.nextval into :new.id from dual;
185185
end;
186186
/
187187
create sequence seq_config_info_beta;
188188
create or replace trigger tg_config_info_beta
189189
--before:
190-
before insert on config_info_beta
190+
before insert on config_info_beta
191191
--行级触发器
192-
for each row
193-
begin
192+
for each row
193+
begin
194194
select seq_config_info_beta.nextval into :new.id from dual;
195195
end;
196196
/
197197
create sequence seq_config_info_tag;
198198
create or replace trigger tg_config_info_tag
199199
--before:
200-
before insert on config_info_tag
200+
before insert on config_info_tag
201201
--行级触发器
202-
for each row
203-
begin
204-
select seq_config_info_tag.nextval into :new.id from dual;
205-
end;
206-
/
207-
create sequence seq_config_info_tag;
208-
create or replace trigger tg_config_info_tag
209-
--before:
210-
before insert on config_info_tag
211-
--行级触发器
212-
for each row
213-
begin
202+
for each row
203+
begin
214204
select seq_config_info_tag.nextval into :new.id from dual;
215205
end;
216206
/
217207
create sequence seq_group_capacity;
218208
create or replace trigger tg_group_capacity
219209
--before:
220-
before insert on group_capacity
210+
before insert on group_capacity
221211
--行级触发器
222-
for each row
223-
begin
212+
for each row
213+
begin
224214
select seq_group_capacity.nextval into :new.id from dual;
225215
end;
226216
/
227217
create sequence seq_his_config_info;
228218
create or replace trigger tg_his_config_info
229219
--before:
230-
before insert on his_config_info
220+
before insert on his_config_info
231221
--行级触发器
232-
for each row
233-
begin
222+
for each row
223+
begin
234224
select seq_his_config_info.nextval into :new.nid from dual;
235225
end;
236226
/
237227
create sequence seq_tenant_capacity;
238228
create or replace trigger tg_tenant_capacity
239229
--before:
240-
before insert on tenant_capacity
230+
before insert on tenant_capacity
241231
--行级触发器
242-
for each row
243-
begin
232+
for each row
233+
begin
244234
select seq_tenant_capacity.nextval into :new.id from dual;
245235
end;
246236
/
247237
create sequence seq_tenant_info;
248238
create or replace trigger tg_tenant_info
249239
--before:
250-
before insert on tenant_info
240+
before insert on tenant_info
251241
--行级触发器
252-
for each row
253-
begin
242+
for each row
243+
begin
254244
select seq_tenant_info.nextval into :new.id from dual;
255245
end;
256246
/

0 commit comments

Comments
 (0)