Skip to content

Feat: start migration implementation - #1

Merged
VoidClancy merged 1 commit into
masterfrom
Migration-Dialect
Jun 27, 2026
Merged

Feat: start migration implementation#1
VoidClancy merged 1 commit into
masterfrom
Migration-Dialect

Conversation

@VoidClancy

Copy link
Copy Markdown
Owner

1- define a Dialect interface with GetSqlType(), GetSqlDefault(), QuoteIdent(), tho PG and Sqlite are kinda identical but for future extensibility(Mysql, sqlserver...etc)

2- define a makefile cuz i miss package.json scripts

3- define Providers consts in schema package to validate on parseand to reuse instead of literal strings in migrations

4- replace provider type in the schema with DbProvider, fix datasource resolution using ParseDbProvider() that errors

5- define typless constants which are PSL types to map into SQL and Go types and to use later in the migrations instead of string literals

6- define Postgres(and postgresql) and Sqlite Dialects

1- define a Dialect interface with GetSqlType(), GetSqlDefault(),QuoteIdent(), tho PG and Sqlite are kinda identical but for future extensibility(Mysql, sqlserver...etc)

2- define a makefile cuz i miss package.json scripts

3- define Providers consts in schema package to validate on parseand to reuse instead of literal strings in migrations

4- replace provider type in the schema with DbProvider, fix datasource resolution using ParseDbProvider() that errors

5- define typless constants which are PSL types to map into SQL and Go types and to use later in the migrations instead of string literals

6- define Postgres(and postgresql) and Sqlite Dialects
@VoidClancy VoidClancy self-assigned this Jun 27, 2026
@VoidClancy
VoidClancy merged commit fb31a90 into master Jun 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant