Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | first draft of SQL schema changes | Bryan Newbold | 2019-05-08 | 2 | -0/+76 |
| | |||||
* | tweak schema example wayback URLs | Bryan Newbold | 2019-04-09 | 1 | -2/+2 |
| | |||||
* | example schema: more edge cases | Bryan Newbold | 2019-03-04 | 1 | -2/+16 |
| | |||||
* | tweaks to schema examples | Bryan Newbold | 2019-03-02 | 1 | -3/+3 |
| | |||||
* | reformat and expand on example SQL entries | Bryan Newbold | 2019-02-05 | 1 | -21/+65 |
| | |||||
* | be less arbitrary about octet_length checks: mostly just >= 1 | Bryan Newbold | 2019-01-29 | 1 | -2/+2 |
| | | | | | We're just checking that strings aren't empty, not that they have any particular length. | ||||
* | ensure no zero-length strings in SQL schema | Bryan Newbold | 2019-01-23 | 1 | -43/+43 |
| | |||||
* | add missing arxiv+jstor id indices | Bryan Newbold | 2019-01-22 | 1 | -0/+2 |
| | |||||
* | SQL schema bump | Bryan Newbold | 2019-01-21 | 1 | -9/+12 |
| | |||||
* | sql schema: cdx timestamps as datetime | Bryan Newbold | 2019-01-18 | 1 | -7/+7 |
| | |||||
* | SQL schema PG version note | Bryan Newbold | 2019-01-17 | 1 | -1/+2 |
| | |||||
* | SQL schema for interned ref JSON blobs | Bryan Newbold | 2019-01-11 | 2 | -26/+36 |
| | |||||
* | fix fcid note in SQL schema | Bryan Newbold | 2019-01-11 | 1 | -1/+1 |
| | |||||
* | fix some SQL meta-schema things (eg, richer examples) | Bryan Newbold | 2019-01-11 | 2 | -7/+14 |
| | |||||
* | minor SQL schema tweaks (column order and extra indexes) | Bryan Newbold | 2019-01-11 | 1 | -3/+4 |
| | |||||
* | SQL for annotations; editgroup is_accepted flag | Bryan Newbold | 2019-01-10 | 1 | -1/+16 |
| | | | | is_accepted won't be implemented, much, for a bit. | ||||
* | start removing active editgroup code | Bryan Newbold | 2019-01-09 | 1 | -6/+2 |
| | |||||
* | rename diesel migrations folder name | Bryan Newbold | 2019-01-08 | 2 | -0/+0 |
| | |||||
* | bump allowed username length to 25 chars | Bryan Newbold | 2019-01-07 | 1 | -1/+1 |
| | |||||
* | only superusers get auto-magic-privs | Bryan Newbold | 2019-01-07 | 1 | -1/+1 |
| | |||||
* | add superuser role/flag | Bryan Newbold | 2019-01-04 | 1 | -7/+8 |
| | |||||
* | better username constraints in SQL | Bryan Newbold | 2019-01-03 | 1 | -1/+3 |
| | |||||
* | OIDC auth table, and is_active editor flag | Bryan Newbold | 2019-01-03 | 2 | -0/+13 |
| | |||||
* | make admin auth_epoch old so test tokens don't expire | Bryan Newbold | 2018-12-31 | 1 | -4/+4 |
| | |||||
* | sql: add index on editor username | Bryan Newbold | 2018-12-27 | 1 | -0/+1 |
| | |||||
* | first attempt at auth in DB schema | Bryan Newbold | 2018-12-26 | 1 | -1/+4 |
| | |||||
* | schemas: editor_id as UUID (not int) | Bryan Newbold | 2018-12-26 | 1 | -7/+7 |
| | |||||
* | webcapture: status_code nullable; cdx timestamp string | Bryan Newbold | 2018-12-26 | 1 | -2/+2 |
| | |||||
* | most basic fileset/web access tests | Bryan Newbold | 2018-12-26 | 1 | -6/+6 |
| | |||||
* | basic fileset/web SQL entities | Bryan Newbold | 2018-12-26 | 1 | -0/+58 |
| | |||||
* | sql: table deletion updates | Bryan Newbold | 2018-12-26 | 1 | -1/+15 |
| | |||||
* | sql: fixes to fileset/web; *_rev_release | Bryan Newbold | 2018-12-26 | 1 | -21/+21 |
| | | | | | Several "ENTITY_release" tables renamed to "ENTITY_rev_release" for consistency. | ||||
* | sql: size_bytes (size is a keyword) | Bryan Newbold | 2018-12-26 | 1 | -2/+2 |
| | |||||
* | fileset and webcapture SQL schemas | Bryan Newbold | 2018-12-24 | 1 | -1/+115 |
| | |||||
* | implement release_year (and rustfmt) | Bryan Newbold | 2018-12-24 | 1 | -4/+5 |
| | |||||
* | ident table redirect lookups | Bryan Newbold | 2018-12-20 | 1 | -0/+5 |
| | |||||
* | lookups impl | Bryan Newbold | 2018-12-14 | 1 | -4/+4 |
| | |||||
* | implement new controlled vocabularies | Bryan Newbold | 2018-11-14 | 1 | -2/+2 |
| | |||||
* | fix isbn13 size check (!) | Bryan Newbold | 2018-09-22 | 1 | -2/+2 |
| | |||||
* | container_name (not title), and shrink some BIGINTs | Bryan Newbold | 2018-09-22 | 1 | -4/+4 |
| | |||||
* | fix CHECK clauses | Bryan Newbold | 2018-09-17 | 1 | -7/+7 |
| | |||||
* | UNIQUE constraint on edits (ident per editgroup) | Bryan Newbold | 2018-09-17 | 1 | -15/+10 |
| | |||||
* | use timestamptz (not WITHOUT TIME ZONE) | Bryan Newbold | 2018-09-17 | 1 | -8/+10 |
| | |||||
* | CHAR/VARCHAR -> TEXT w/ CHECK | Bryan Newbold | 2018-09-17 | 1 | -15/+28 |
| | |||||
* | update extid columns: varchar size limits, no char columns | Bryan Newbold | 2018-09-15 | 1 | -15/+15 |
| | | | | | | | | | | | | In PostgreSQL, there is no query or size differences between CHAR, VARCHAR, and TEXT: they use the same backend. CHAR will pad out with spaces and VARCHAR enforces a size limit. The enforced VARCHAR size limit seems like ok defensive programming/schema here, preventing large values from getting stored for some columns. I have some FUD concern about fixed-sized identifiers and indexes, so switching old CHARs (eg, sha1 hex encoded columns) to VARCHAR instead. | ||||
* | use JSONB over JSON | Bryan Newbold | 2018-09-10 | 1 | -13/+13 |
| | | | | | | Sort of an impulsive "why not" decision. From earlier tests, expect this to consume a few % more disk (but not index)... adds a lot more query flexibility if we want that in the future. Seems worth the price. | ||||
* | sql: add an index from cockroach branch | Bryan Newbold | 2018-09-10 | 1 | -0/+2 |
| | |||||
* | remove 'IS NOT NULL' identifier index constraints | Bryan Newbold | 2018-09-10 | 1 | -14/+14 |
| | | | | | | | | | | | These seemed to be resulting in table scans on 404s in QA with postgres 10, despite the adding "IS NOT NULL" WHERE clauses earlier. Query time was very significant, even for the creator table (1.2 seconds or so on SSD). I looked at using hash indices (which have improved in postgres 10), which could save index size (disk and RAM) and potentially be faster for these trivial exact lookups, but didn't go for it at this time. | ||||
* | use index_val, not index, in SQL schema | Bryan Newbold | 2018-08-20 | 1 | -4/+4 |
| | |||||
* | add index on release_rev_abstract SHA1 column | Bryan Newbold | 2018-08-19 | 1 | -0/+1 |
| |