Podcast scrobbling
This commit is contained in:
17
db/migrate/20231130095816_create_podcast_scrobbles.rb
Normal file
17
db/migrate/20231130095816_create_podcast_scrobbles.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ROM::SQL.migration do
|
||||
change do
|
||||
create_table :podcast_scrobbles do
|
||||
primary_key :id
|
||||
column :overcast_id, :text
|
||||
column :podcast_name, :text
|
||||
column :title, :text
|
||||
column :url, :text
|
||||
column :enclosure_url, :text
|
||||
column :listened_at, :date
|
||||
|
||||
index :overcast_id
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user