diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-21 21:01:50 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-21 21:01:50 -0500 |
| commit | 4a9bf38ef61b39e482458ba56cd1e6fea379b4d7 (patch) | |
| tree | ed778402e454cbbb3945f453f6d1682f4701924a /db | |
| parent | c260fbba4ed7cd0e7b80d5ae1316f597f9abb827 (diff) | |
| download | thoughts-4a9bf38ef61b39e482458ba56cd1e6fea379b4d7.tar.gz thoughts-4a9bf38ef61b39e482458ba56cd1e6fea379b4d7.tar.bz2 thoughts-4a9bf38ef61b39e482458ba56cd1e6fea379b4d7.zip | |
Added "listening to" box in sidebar
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20251122012500_create_scrobbles.rb | 12 | ||||
| -rw-r--r-- | db/schema.rb | 11 |
2 files changed, 22 insertions, 1 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 | ||
| diff --git a/db/schema.rb b/db/schema.rb index 76e9ad8..74e1976 100644 --- a/db/schema.rb +++ b/db/schema.rb | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | # | 10 | # |
| 11 | # It's strongly recommended that you check this file into your version control system. | 11 | # It's strongly recommended that you check this file into your version control system. |
| 12 | 12 | ||
| 13 | ActiveRecord::Schema[7.1].define(version: 2025_05_12_181245) do | 13 | ActiveRecord::Schema[7.1].define(version: 2025_11_22_012500) do |
| 14 | create_table "active_storage_attachments", force: :cascade do |t| | 14 | create_table "active_storage_attachments", force: :cascade do |t| |
| 15 | t.string "name", null: false | 15 | t.string "name", null: false |
| 16 | t.string "record_type", null: false | 16 | t.string "record_type", null: false |
| @@ -352,6 +352,15 @@ ActiveRecord::Schema[7.1].define(version: 2025_05_12_181245) do | |||
| 352 | t.index ["recordable_type", "recordable_id"], name: "index_records_on_recordable_type_and_recordable_id" | 352 | t.index ["recordable_type", "recordable_id"], name: "index_records_on_recordable_type_and_recordable_id" |
| 353 | end | 353 | end |
| 354 | 354 | ||
| 355 | create_table "scrobbles", force: :cascade do |t| | ||
| 356 | t.string "title" | ||
| 357 | t.string "artist" | ||
| 358 | t.string "album" | ||
| 359 | t.string "image" | ||
| 360 | t.datetime "created_at", null: false | ||
| 361 | t.datetime "updated_at", null: false | ||
| 362 | end | ||
| 363 | |||
| 355 | create_table "streams", force: :cascade do |t| | 364 | create_table "streams", force: :cascade do |t| |
| 356 | t.string "title" | 365 | t.string "title" |
| 357 | t.text "body" | 366 | t.text "body" |
