diff options
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20251122012500_create_scrobbles.rb | 12 |
1 files changed, 12 insertions, 0 deletions
| diff --git a/db/migrate/20251122012500_create_scrobbles.rb b/db/migrate/20251122012500_create_scrobbles.rb new file mode 100644 index 0000000..9f00435 --- /dev/null +++ b/db/migrate/20251122012500_create_scrobbles.rb | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | class CreateScrobbles < ActiveRecord::Migration[7.1] | ||
| 2 | def change | ||
| 3 | create_table :scrobbles do |t| | ||
| 4 | t.string :title | ||
| 5 | t.string :artist | ||
| 6 | t.string :album | ||
| 7 | t.string :image | ||
| 8 | |||
| 9 | t.timestamps | ||
| 10 | end | ||
| 11 | end | ||
| 12 | end | ||
