|
@ -8,10 +8,10 @@ namespace db { |
|
|
public: |
|
|
public: |
|
|
m1624829187_create_events() : Migration() { |
|
|
m1624829187_create_events() : Migration() { |
|
|
db_builder::Table create_events = db_builder::Table::create("events" |
|
|
db_builder::Table create_events = db_builder::Table::create("events" |
|
|
).integer("uid", "PRIMARY KEY" |
|
|
|
|
|
|
|
|
).text("uid", "NOT NULL" |
|
|
).text("summary", "NOT NULL" |
|
|
).text("summary", "NOT NULL" |
|
|
).text("dtstart", "NOT NULL" |
|
|
|
|
|
).text("dtend", "NOT NULL" |
|
|
|
|
|
|
|
|
).integer("dtstart", "NOT NULL" |
|
|
|
|
|
).integer("dtend", "NOT NULL" |
|
|
).text("location" |
|
|
).text("location" |
|
|
).close(); |
|
|
).close(); |
|
|
m_statement = create_events.str(); |
|
|
m_statement = create_events.str(); |
|
|