This commit is contained in:
admin
2026-05-14 22:02:06 +09:00
parent 78022b3b15
commit b9f994b1e1
22 changed files with 1225 additions and 126 deletions

6
check_jl_cols.py Normal file
View File

@@ -0,0 +1,6 @@
import psycopg2
conn = psycopg2.connect(host='192.168.0.61', port=55432, dbname='njts_acct', user='njts_app', password='njts_app2025')
cur = conn.cursor()
cur.execute("SELECT column_name FROM information_schema.columns WHERE table_name='journal_lines' ORDER BY ordinal_position")
for r in cur.fetchall(): print(r[0])
conn.close()