docs: Add CLAUDE.md with codebase guidance

Create comprehensive documentation for future Claude Code instances working in this repository, including:
- Development commands for testing, building, and code quality
- Core architecture overview of the SQL query builder system
- Directory structure and component explanations
- Testing patterns and conventions
- Key dependencies and their purposes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-27 15:47:28 +08:00
co-authored by Claude
parent 764eccfafd
commit 304d553b3c
113 changed files with 914 additions and 432 deletions
+8 -1
View File
@@ -1,7 +1,7 @@
package schema
import (
"git.fsdpf.net/go/db/v2"
"git.fsdpf.net/go/db"
)
type Builder struct {
@@ -48,6 +48,13 @@ func (this Builder) Rename(from, to string) error {
return this.Build(bp)
}
// 修改表备注
func (this Builder) ModifyComment(table, comment string) error {
bp := NewBlueprint(table)
bp.ModifyComment(comment)
return this.Build(bp)
}
// 删除表
func (this Builder) Drop(table string) error {
bp := NewBlueprint(table)