Fixed/added comments
This commit is contained in:
parent
ef466013e0
commit
c2dcf7ee80
@ -18,6 +18,7 @@ import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.CompletionException;
|
||||
|
||||
public class OutfitController {
|
||||
// There is no delete method. 'Deletions' should be executed as an update to the deleted flag.
|
||||
public static CompletableFuture<Void> insert(Outfit outfit) {
|
||||
return CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
|
@ -42,7 +42,7 @@ public class GalleryChannel extends DatabaseModel {
|
||||
return "CREATE TABLE IF NOT EXISTS galleries (" +
|
||||
"server_id TEXT," +
|
||||
"server_name TEXT," +
|
||||
"channel_id TEXT," + // PRIMARY KEY? There can only be one gallery per channel.
|
||||
"channel_id TEXT," + // TODO: PRIMARY KEY? There can only be one gallery per channel.
|
||||
"channel_name TEXT," +
|
||||
"tag TEXT)";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user