-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
734 additions
and
84 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE event; |
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,18 @@ | ||
CREATE TABLE event ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
event_type INTEGER NOT NULL, | ||
user_uuid CHAR(36), | ||
org_uuid CHAR(36), | ||
cipher_uuid CHAR(36), | ||
collection_uuid CHAR(36), | ||
group_uuid CHAR(36), | ||
org_user_uuid CHAR(36), | ||
act_user_uuid CHAR(36), | ||
device_type INTEGER, | ||
ip_address TEXT, | ||
event_date DATETIME NOT NULL, | ||
provider_uuid CHAR(36), | ||
provider_user_uuid CHAR(36), | ||
provider_org_uuid CHAR(36), | ||
UNIQUE (uuid) | ||
); |
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 @@ | ||
DROP TABLE event; |
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,18 @@ | ||
CREATE TABLE event ( | ||
uuid CHAR(36) NOT NULL PRIMARY KEY, | ||
event_type INTEGER NOT NULL, | ||
user_uuid CHAR(36), | ||
org_uuid CHAR(36), | ||
cipher_uuid CHAR(36), | ||
collection_uuid CHAR(36), | ||
group_uuid CHAR(36), | ||
org_user_uuid CHAR(36), | ||
act_user_uuid CHAR(36), | ||
device_type INTEGER, | ||
ip_address TEXT, | ||
event_date TIMESTAMP NOT NULL, | ||
provider_uuid CHAR(36), | ||
provider_user_uuid CHAR(36), | ||
provider_org_uuid CHAR(36), | ||
UNIQUE (uuid) | ||
); |
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 @@ | ||
DROP TABLE event; |
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,18 @@ | ||
CREATE TABLE event ( | ||
uuid TEXT NOT NULL PRIMARY KEY, | ||
event_type INTEGER NOT NULL, | ||
user_uuid TEXT, | ||
org_uuid TEXT, | ||
cipher_uuid TEXT, | ||
collection_uuid TEXT, | ||
group_uuid TEXT, | ||
org_user_uuid TEXT, | ||
act_user_uuid TEXT, | ||
device_type INTEGER, | ||
ip_address TEXT, | ||
event_date DATETIME NOT NULL, | ||
provider_uuid TEXT, | ||
provider_user_uuid TEXT, | ||
provider_org_uuid TEXT, | ||
UNIQUE (uuid) | ||
); |
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.