Initial commit: Add project files
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
-- Immutable ordered DbUp migration. Never rewrite after release.
|
||||
create schema if not exists __schema__;
|
||||
|
||||
create table if not exists __schema__.__table__ (
|
||||
id uuid primary key,
|
||||
source_id text not null,
|
||||
published_at timestamptz not null,
|
||||
ingested_at timestamptz not null,
|
||||
revision_no integer not null,
|
||||
content_hash text not null,
|
||||
unique (source_id, revision_no)
|
||||
);
|
||||
Reference in New Issue
Block a user