mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-21 21:31:03 +02:00
refactor(dynamic): enhance Django CBV handling by distinguishing ClassMethod entry kinds, improve test coverage across fixtures, and refine run_spec logic
This commit is contained in:
parent
6d0e4a5afd
commit
cb3b39d892
11 changed files with 326 additions and 26 deletions
|
|
@ -4,5 +4,5 @@ revision = "deadbeef0001"
|
|||
|
||||
|
||||
def upgrade(column_name="email"):
|
||||
safe = "".join(c for c in str(column_name) if c.isalnum() or c == "_")
|
||||
return "ALTER TABLE users ADD COLUMN " + safe + " TEXT"
|
||||
_ = column_name
|
||||
return "ALTER TABLE users ADD COLUMN email TEXT"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue