Skip to content

Commit

Permalink
Added more SQL Tables
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCGuyGitHub committed Jun 30, 2024
1 parent 16d4089 commit f28a222
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ class CloudNet_Rest_Module : DriverModule() {
connection.prepareStatement("CREATE TABLE IF NOT EXISTS cloudnet_rest_users (id SERIAL PRIMARY KEY, user TEXT, password TEXT)").use { statement ->
statement.executeUpdate()
}
connection.prepareStatement("CREATE TABLE IF NOT EXISTS cloudnet_rest_permission (id SERIAL PRIMARY KEY, user TEXT, permission TEXT)").use { statement ->
statement.executeUpdate()
}
connection.prepareStatement("CREATE TABLE IF NOT EXISTS cloudnet_rest_auths (id SERIAL PRIMARY KEY, type TEXT, value TEXT, timestamp TEXT)").use { statement ->
statement.executeUpdate()
}
}
ds.close()
}
Expand Down

0 comments on commit f28a222

Please sign in to comment.