home / civic

Menu
  • Log in

attachments

Data license: 비공개

✎ View and edit SQL

This data as json

0 records

CREATE TABLE attachments (
    id             INTEGER PRIMARY KEY AUTOINCREMENT,
    ref_table      TEXT NOT NULL,            -- 연결 테이블명 (예: 'overseas_trips')
    ref_id         INTEGER NOT NULL,         -- 연결 행 ID
    file_name      TEXT,
    file_path      TEXT,                     -- 로컬 저장 경로
    file_type      TEXT,                     -- 'pdf'|'hwp'|'hwpx'|'xlsx'|'jpg' 등
    original_url   TEXT,                     -- 원본 URL
    file_size_kb   INTEGER,
    note           TEXT,
    collected_at   TEXT NOT NULL
);
Powered by Datasette · Queries took 8.389ms · Data license: 비공개