mirror of
https://github.com/PretendoNetwork/super-mario-maker.git
synced 2026-08-02 00:15:36 -05:00
10 lines
233 B
Go
10 lines
233 B
Go
package database
|
|
|
|
import "log"
|
|
|
|
func SetCoursePlayable(courseID uint64) {
|
|
if err := cassandraClusterSession.Query(`UPDATE pretendo_smm.courses SET playable=true WHERE data_id=?`, courseID).Exec(); err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|