Skip to content

Commit 22ea942

Browse files
committed
#219 set initial index to 1 for hsql and mysql too
1 parent afb086f commit 22ea942

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/resources/alfio/db/HSQLDB/V18_1.10.1__REDO_INVOICE_SUPPORT.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ create table invoice_sequences (
2424

2525
alter table invoice_sequences add foreign key(organization_id_fk) references organization(id);
2626

27-
insert into invoice_sequences select id, 0 from organization;
27+
insert into invoice_sequences select id, 1 from organization;

src/main/resources/alfio/db/MYSQL/V18_1.10.1__REDO_INVOICE_SUPPORT.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ create table invoice_sequences (
2424

2525
alter table invoice_sequences add foreign key(organization_id_fk) references organization(id);
2626

27-
insert into invoice_sequences select id, 0 from organization;
27+
insert into invoice_sequences select id, 1 from organization;

0 commit comments

Comments
 (0)