Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | add index on file_rev_url file_rev | Bryan Newbold | 2018-08-19 | 1 | -0/+2 |
| | |||||
* | create index on release_rev_abstracts | Bryan Newbold | 2018-08-18 | 1 | -0/+2 |
| | |||||
* | add core_id to schemas | Bryan Newbold | 2018-08-14 | 1 | -4/+6 |
| | |||||
* | contribs: raw -> raw_name | Bryan Newbold | 2018-07-25 | 1 | -3/+3 |
| | |||||
* | tweaks/fixes to SQL changes | Bryan Newbold | 2018-07-24 | 2 | -7/+10 |
| | |||||
* | bunch of SQL updates | Bryan Newbold | 2018-07-23 | 1 | -48/+105 |
| | | | | | | | | | - file urls as a table - more external identifiers (eg, pmcid, wikidata) - release ref and contrib mostly as JSON - abstracts - timestamps - fixed size external identifiers (CHAR not TEXT) | ||||
* | sql: work really an empty stub | Bryan Newbold | 2018-07-20 | 1 | -8/+4 |
| | |||||
* | update schema (sql and api) for rev ids, editor_id, editgroup_id | Bryan Newbold | 2018-07-20 | 1 | -113/+112 |
| | |||||
* | prep for base32 encoded identifiers | Bryan Newbold | 2018-07-20 | 1 | -17/+17 |
| | |||||
* | fix problems with dummy data | Bryan Newbold | 2018-06-30 | 1 | -9/+9 |
| | |||||
* | add some container extra_json to examples | Bryan Newbold | 2018-06-30 | 1 | -4/+4 |
| | |||||
* | add a bunch of database indexes | Bryan Newbold | 2018-06-27 | 1 | -0/+37 |
| | |||||
* | ISO 639-1 for language codes | Bryan Newbold | 2018-06-19 | 1 | -1/+1 |
| |