25 lines
765 B
JavaScript
25 lines
765 B
JavaScript
export async function seed(knex) {
|
|
const existing = await knex('cv_data').where({ id: 1 }).first();
|
|
|
|
if (!existing) {
|
|
await knex('cv_data').insert({
|
|
id: 1,
|
|
data: JSON.stringify({
|
|
personal: {
|
|
name: "Tuan-Dat Tran",
|
|
title: "Junior DevOps Engineer",
|
|
intro: "Passionierter DevOps Engineer mit Fokus auf Cloud-Infrastruktur, Container-Orchestrierung und automatisierte Deployment-Pipelines.",
|
|
email: "tuan-dat.tran@example.com",
|
|
github: "https://github.com/tuan-dat-tran",
|
|
linkedin: "https://linkedin.com/in/tuan-dat-tran",
|
|
location: "Deutschland"
|
|
},
|
|
experience: [],
|
|
skills: {},
|
|
education: [],
|
|
projects: []
|
|
})
|
|
});
|
|
}
|
|
}
|