Added unique constraint to book, chapter, verse start/stop.
This commit is contained in:
parent
ea847aadb3
commit
d197831ecf
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ create table verses (
|
|||
verse_start int not null,
|
||||
verse_stop int default 0 not null
|
||||
);
|
||||
create unique index verses_book_chapter_verses_idx on verses (book, chapter, verse_start, verse_stop);
|
||||
|
||||
create table verses_submitter (
|
||||
verseid integer not null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue