Current section
Files
Jump to
Current section
Files
tempus_sql
README.md
README.md
#  TempusSQL [](https://kantox.com/)  
**Ecto/SQL backend to use with `Tempus` library**
## Installation
```elixir
def deps do
[
{:tempus_sql, "~> 1.0"}
]
end
```
## Setup & Migrations
- For new installations:
```sh
$ mix tempus.gen.postgres.tempus_slot
```
- For upgrading existing databases to 1.0 (adds `from_open` and `to_open` attributes):
```sh
$ mix tempus.gen.postgres.update_tempus_slot
```
See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
## Changelog
- **`1.0.0-rc.0`** — Support for half-open boundaries and boundary flags (`from_open`/`to_open`) in `Tempus.Slot`, 4-tuple Postgres composite type, `slot_from_open`/`slot_to_open` query helpers, and automated migration task.
- **`0.10.0`** — version numbers correspond to `Tempus` itself
- **`0.1.0`** — initial version, `Tempus.Ecto.Query.API.started_after/2`
## [Documentation](https://hexdocs.pm/tempus_sql)