-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shared): use agenda service version 4.
- Loading branch information
1 parent
b35a13a
commit 2301f8c
Showing
9 changed files
with
194 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
shared/core/src/commonMain/sqldelight/org/gdglille/devfest/db/27.sqm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import kotlin.Boolean; | ||
|
||
CREATE TABLE EventSession( | ||
id TEXT NOT NULL PRIMARY KEY, | ||
title TEXT NOT NULL, | ||
description TEXT, | ||
event_id TEXT NOT NULL | ||
); | ||
CREATE TABLE Session_New ( | ||
id TEXT NOT NULL PRIMARY KEY, | ||
order_ INTEGER NOT NULL, | ||
event_id TEXT NOT NULL, | ||
date TEXT NOT NULL, | ||
start_time TEXT NOT NULL, | ||
end_time TEXT NOT NULL, | ||
room TEXT NOT NULL, | ||
is_favorite INTEGER AS Boolean NOT NULL DEFAULT 0, | ||
session_event_id TEXT, | ||
session_talk_id TEXT, | ||
FOREIGN KEY (session_event_id) REFERENCES EventSession(id), | ||
FOREIGN KEY (session_talk_id) REFERENCES TalkSession(id) | ||
); | ||
DROP TABLE Session; | ||
ALTER TABLE Session_New RENAME TO Session; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.