Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ In order to make this table system-period temporal table we should first add a
system period column:

```SQL
ALTER TABLE employees ADD COLUMN sys_period tstzrange NOT NULL;
ALTER TABLE employees ADD COLUMN sys_period tstzrange NOT NULL DEFAULT tstzrange(now(), null);
```

Then we need a history table that contains archived rows of our table. The
Expand Down