Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

288 create schema file #289

Merged
merged 21 commits into from
Jan 14, 2025
Merged

288 create schema file #289

merged 21 commits into from
Jan 14, 2025

Conversation

itsumura-h
Copy link
Owner

No description provided.

- PostgreSQL接続の設定を有効化し、SQLite3の接続をコメントアウトしました。
- スキーマのオブジェクト名を変更し、新しいフィールドを追加しました(例: UserTable, PostTable)。
- シーダーのロジックを改善し、非同期処理を適切に使用しました。
- 不要なコメントを削除し、コードの可読性を向上させました。
@itsumura-h itsumura-h linked an issue Jan 14, 2025 that may be closed by this pull request
- 'char'カラムのサイズをさまざまなテーブル定義およびチェックで拡張し、より大きな文字列を扱えるようにしました。
- 新しいサイズ制限を反映するために、テスト内の関連するアサーションを更新しました。
- テストを直接コンパイルして実行するコマンドを追加しました。
テストコードの最後でテーブルをクリアする処理を各テストファイルから clear_tables.nim に移動し、共通化しました。
これにより、テストファイル内のテーブルクリア処理が簡潔になり、コードの重複も解消されました。
各データベースエンジン(MySQL, MariaDB, PostgreSQL, SQLite)のテストで clear_tables モジュールをインポートし、テスト終了時に clearTables() を呼び出すように変更しています。
@itsumura-h itsumura-h merged commit 79ab598 into main Jan 14, 2025
4 checks passed
@itsumura-h itsumura-h deleted the 288-create-schema-file branch January 14, 2025 19:25
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.

create schema file
1 participant