Skip to content

Feature/add db table creation#2

Open
lawrenceeldridge wants to merge 7 commits intocary997:mainfrom
lawrenceeldridge:feature/add-db-table-creation
Open

Feature/add db table creation#2
lawrenceeldridge wants to merge 7 commits intocary997:mainfrom
lawrenceeldridge:feature/add-db-table-creation

Conversation

@lawrenceeldridge
Copy link

Moved the responsibility of table creation in to the package itself. This is to ensure that the creation is automated without the risk of coupling with external packages that depend on it, especially when dealing with microservices. Default behavior is to prefix the name with "beat_" and concatenate it with the model class name for the table name. Can look at parsing in custom table configuration in the near future.

Other fixes:

  • added .gitignore file to remove files that do not require version control
  • converted updated_at and created_at columns to leverage sa_type and remove IDE warning
  • updated pyproject file to newer format for dependencies

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