- Replace MiniMax images with Unsplash (free commercial use) - Hero images: marketing, AI automation, tech consult, web dev, about-us - Illustrations: different from heroes for all 4 service pages - Fix ตัวอย่างการใช้งาน section on marketing-automation - Update about-us with hero image - All images stored locally (not hotlinks)
20 lines
486 B
TypeScript
20 lines
486 B
TypeScript
import { defineDb, defineTable, column } from 'astro:db';
|
|
|
|
export const ConsentLog = defineTable({
|
|
columns: {
|
|
id: column.number({ primaryKey: true }),
|
|
sessionId: column.text({ unique: true }),
|
|
timestamp: column.date(),
|
|
essential: column.boolean(),
|
|
analytics: column.boolean(),
|
|
marketing: column.boolean(),
|
|
policyVersion: column.text(),
|
|
ipHash: column.text(),
|
|
userAgent: column.text()
|
|
}
|
|
});
|
|
|
|
export default defineDb({
|
|
tables: { ConsentLog }
|
|
});
|