GameApp.Websites.GetText (game_app v0.1.0)

Defines the Ecto schema and changeset validations for get_text.

Summary

Functions

Creates a changeset with URL validation for a given attribute map.

Types

@type t() :: %GameApp.Websites.GetText{__meta__: term(), id: term(), url: String.t()}

Functions

Link to this function

create_changeset(attrs)

Creates a changeset with URL validation for a given attribute map.

Parameters

  • attrs: A map containing the URL data to be validated.

Returns

  • An Ecto.Changeset.t() that can be used to validate and persist data to the database.