forge->addField([ 'id' => [ 'type' => 'BIGINT', 'constraint' => 20, 'unsigned' => true, 'auto_increment' => true, 'comment' => 'The episode ID', ], 'podcast_id' => [ 'type' => 'BIGINT', 'constraint' => 20, 'unsigned' => true, 'comment' => 'The podcast ID', ], 'title' => [ 'type' => 'VARCHAR', 'constraint' => 1024, 'comment' => 'An episode title. title is a string containing a clear, concise name for your episode. Don’t specify the episode number or season number in this tag.', ], 'slug' => [ 'type' => 'VARCHAR', 'constraint' => 191, 'comment' => 'Episode slug for URLs', ], 'enclosure_url' => [ 'type' => 'VARCHAR', 'constraint' => 1024, 'comment' => 'The URL attribute points to your podcast media file. The file extension specified within the URL attribute determines whether or not content appears in the podcast directory. Supported file formats include M4A, MP3, MOV, MP4, M4V, and PDF.', ], 'enclosure_length' => [ 'type' => 'INT', 'constraint' => 10, 'unsigned' => true, 'comment' => 'The length attribute is the file size in bytes. You can find this information in the properties of your podcast file (on a Mac, choose File > Get Info and refer to the size field).', ], 'enclosure_type' => [ 'type' => 'VARCHAR', 'constraint' => 1024, 'comment' => 'The type attribute provides the correct category for the type of file you are using. The type values for the supported file formats are: audio/x-m4a, audio/mpeg, video/quicktime, video/mp4, video/x-m4v, and application/pdf.', ], 'guid' => [ 'type' => 'VARCHAR', 'constraint' => 1024, 'comment' => 'The episode’s globally unique identifier (GUID). It is very important that each episode have a unique GUID and that it never changes, even if an episode’s metadata, like title or enclosure URL, do change. Globally unique identifiers (GUID) are case-sensitive strings. If a GUID is not provided an episode’s enclosure URL will be used instead. If a GUID is not provided, make sure that an episode’s enclosure URL is unique and never changes. Failing to comply with these guidelines may result in duplicate episodes being shown to listeners, inaccurate data in Podcast Analytics, and can cause issues with your podcasts’s listing and chart placement in Apple Podcasts.', ], 'pub_date' => [ 'type' => 'DATETIME', 'comment' => 'The date and time when an episode was released. Format the date using the RFC 2822 specifications. For example: Wed, 15 Jun 2019 19:00:00 GMT.', ], 'description' => [ 'type' => 'TEXT', 'null' => true, 'comment' => 'An episode description. Description is text containing one or more sentences describing your episode to potential listeners. You can specify up to 4000 characters. You can use rich text formatting and some HTML (

,

    ,