Skip to content

Commit ea42c2d

Browse files
committed
progress
1 parent 2f061b9 commit ea42c2d

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

PLAN.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,39 @@ In squawk, you will see:
3232

3333
If you learn something new that might help in porting all the rules, please update this document.
3434

35+
LEARNINGS:
36+
37+
3538
Please update the list below with the rules that we need to migrate, and the ones that are already migrated. Keep the list up-to-date.
3639

3740
TODO:
38-
41+
- adding_field_with_default
42+
- adding_foreign_key_constraint
43+
- adding_not_null_field
44+
- adding_primary_key_constraint
45+
- ban_char_field
46+
- ban_concurrent_index_creation_in_transaction
47+
- changing_column_type
48+
- constraint_missing_not_valid
49+
- disallow_unique_constraint
50+
- prefer_big_int
51+
- prefer_bigint_over_int
52+
- prefer_bigint_over_smallint
53+
- prefer_identity
54+
- prefer_robust_stmts
55+
- prefer_text_field
56+
- prefer_timestamptz
57+
- renaming_column
58+
- renaming_table
59+
- require_concurrent_index_creation
60+
- require_concurrent_index_deletion
61+
- transaction_nesting
3962

4063
DONE:
64+
- adding_required_field (already exists in pgt_analyser)
65+
- ban_drop_column (already exists in pgt_analyser)
66+
- ban_drop_database (already exists in pgt_analyser, as bad_drop_database in squawk)
67+
- ban_drop_not_null (already exists in pgt_analyser)
68+
- ban_drop_table (already exists in pgt_analyser)
4169

4270

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@ show-logs:
154154
tail -f $(ls $PGT_LOG_PATH/server.log.* | sort -t- -k2,2 -k3,3 -k4,4 | tail -n 1)
155155

156156
port-squawk:
157-
unset ANTHROPIC_API_KEY && claude --dangerously-skip-permissions < PLAN.md
157+
unset ANTHROPIC_API_KEY && claude --dangerously-skip-permissions "please read PLAN.md and follow the instructions closely"

0 commit comments

Comments
 (0)