#pragma once namespace db { namespace migrations { namespace db_builder = db::migrations::builder; class m1624829187_create_events : public Migration { public: m1624829187_create_events() : Migration() { db_builder::Table create_events = db_builder::Table::create("events" ).text("uid", "NOT NULL" ).text("summary", "NOT NULL" ).integer("dtstart", "NOT NULL" ).integer("dtend", "NOT NULL" ).text("location" ).close(); m_statement = create_events.str(); } }; } }