HackerTrans
TopNewTrendsCommentsPastAskShowJobs

a8m

no profile record

Submissions

Atlas v1.1: Database Security as Code and Declarative Data Management

atlasgo.io
2 points·by a8m·قبل 5 أشهر·1 comments

comments

a8m
·قبل 5 أشهر·discuss
We just shipped Atlas v1.1 - The focus of this release is Database Security as Code and Declarative Data Management.

You can now declare database users, roles, permissions, and managed seed data as code - versioned, reviewed, and applied via CI/CD like schema changes.

Feel free to share any thoughts or feedback.
a8m
·قبل 5 أشهر·discuss
Ariel from Atlas here. This setup is pretty common (declarative locally, versioned in real environments). Since migrations are auto-generated (by Atlas) on PRs, most developers never touch the versioned workflow directly.

See: https://atlasgo.io/concepts/declarative-vs-versioned#combini..., and https://github.com/ariga/atlas-action?tab=readme-ov-file#ari...
a8m
·قبل 8 أشهر·discuss
Good point regarding ORMs - that was one of the main problems I wanted to tackle when we built Atlas (https://atlasgo.io). We added support for reading ORM definitions directly, then let you extend the "base schema" defined in them. For example, you can define your models in SQLAlchemy, EF Core, Ent, or others as a partial schema, and then extend it with functions, views, and additional objects.

From there, Atlas handles diffing, planning, and execution. This is similar to importing modules in TF, but for database schemas in Atlas. See this example: https://atlasgo.io/guides/orms/sqlalchemy

Disclaimer: I'm involved with Atlas.