Skip to content

Instantly share code, notes, and snippets.

@namor
Created July 3, 2019 01:08
Show Gist options
  • Save namor/17c6c807dbe37a5f26d2755b7a935b58 to your computer and use it in GitHub Desktop.
Save namor/17c6c807dbe37a5f26d2755b7a935b58 to your computer and use it in GitHub Desktop.
Migrator.CourseContent.import_from_elula(986, 46, 1900)
Migrator.CourseContent.import_from_elula(987, 46, 1931)
Migrator.CourseContent.import_from_elula(988, 46, 1917)
Migrator.CourseContent.import_from_elula(989, 46, 1899)
["April 2019: Character Month, 986, 1900",
"June 2019: Love Life Month , 987, 1931",
"May 2019: Spiritual Life Month, 988, 1917",
"Welcome to the Lifebook Membership!, 989, 1899"]
{:ok, media} = Academy.Channel.Media.get(983)
Academy.Channel.Media.delete(media)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment