diff --git a/mixology.sh b/mixology.sh new file mode 100644 index 0000000..4a1c41d --- /dev/null +++ b/mixology.sh @@ -0,0 +1,11 @@ +#! /bin/bash +set -euo pipefail + +mix phx.gen.schema User users name:string username:string password:string email:string dob:date gender_type:enum:trans:cis:nb gender_id:enum:fem:masc:combined:fluid:none bio:text affil:array:map perms:array:integer user_token:string pub_keys:map +mix ecto.migrate +mix phx.gen.schema Post posts title:string:unique abst:text auth_id:references:users rev_id:references:users slug:string content:text tags:array:string cat:string ledit:utc_datetime +mix ecto.migrate +mix phx.gen.schema Folio folios user_id:references:users resume:map showcase:map theme_uri:string +mix ecto.migrate +mix phx.gen.schema Comment comments post_id:references:posts reply_to:references:comments slug:string tripcode:string:unique content:text ledit:utc_datetime +mix ecto.migrate \ No newline at end of file