Switch to storing ISBNs as text.
This commit is contained in:
parent
93918286f4
commit
23bd589e45
1 changed files with 1 additions and 3 deletions
|
|
@ -2,9 +2,7 @@
|
|||
|
||||
create table library_books (
|
||||
id integer primary key autoincrement,
|
||||
isbn integer default 0 not null,
|
||||
-- ISBN-10 check digit. If it is the maximum allowable value in the base-11 format (i.e. the ISBN-10 ends with "X") this will be "1".
|
||||
isbn_check integer default 0 not null,
|
||||
isbn text default '' not null,
|
||||
title text default '' not null,
|
||||
authors text default '' not null,
|
||||
meta jsonb default '{}' not null
|
||||
|
|
|
|||
Loading…
Reference in a new issue