CREATE TABLE files (
  id TEXT PRIMARY KEY,
  name TEXT NOT NULL,
  type TEXT NOT NULL,
  size INTEGER NOT NULL,
  password TEXT,
  downloads INTEGER DEFAULT 0,
  created_at TEXT NOT NULL,
  expires_at TEXT
);