luckyframework / luckyframework/avram

Add existance options to migrations

Open
#585 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Crystal
Stars
183
Forks
67
PR merge metrics
No merged PRs in 30d

Description

This particularly helps migrating to Avram with an existing database

- [ ] create table if not exists
- [ ] drop table if exists
- [ ] add column if not exists
- [ ] drop column if exists

Contributor guide

Open the contributing guide

Research direction

Locate the migration implementations for creating and dropping tables and adding and dropping columns, along with any existing migration tests. Start by tracing how these four operations generate PostgreSQL statements. Done means each listed existence option is supported and covered by tests for an existing or missing database object.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal, postgresql
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.