Skip to content

Commit

Permalink
feat: release v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Mar 24, 2024
1 parent a52e92c commit 9753b6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Lynx is a Fast, Secure and Reliable Terraform Backend. It is built in Elixir wit
- **State Versioning:** Keep track of Terraform state versions for better control.
- **Rollback Capability:** Easily revert to previous states for efficient infrastructure management.
- **Terraform Locking Support:** The project also supports Terraform locking, ensuring state integrity and preventing concurrent operations that could lead to data corruption

#### Upcoming Features:
- **Automated Scheduled Backups**: Enable automated scheduled backups for both project and environment state files to ensure data integrity and offer a recovery option at specific points in time.
- **Snapshot Creation**: for both projects and environments to ensure data integrity and provide recovery options at specific points in time.

Expand Down
7 changes: 5 additions & 2 deletions lib/lynx/model/snapshot.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ defmodule Lynx.Model.Snapshot do
field :record_type, :string
field :record_uuid, :string
field :data, :string
field :team_id, :id

timestamps()
end
Expand All @@ -30,15 +31,17 @@ defmodule Lynx.Model.Snapshot do
:description,
:record_type,
:record_uuid,
:data
:data,
:team_id
])
|> validate_required([
:uuid,
:title,
:description,
:record_type,
:record_uuid,
:data
:data,
:team_id
])
end
end
1 change: 1 addition & 0 deletions priv/repo/migrations/20230305002632_create_snapshots.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ defmodule Lynx.Repo.Migrations.CreateSnapshots do
add :record_type, :string
add :record_uuid, :string
add :data, :text
add :team_id, references(:teams, on_delete: :delete_all)

timestamps()
end
Expand Down

0 comments on commit 9753b6d

Please sign in to comment.