-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
// TypesFromSerializers CacheKey c3af64a41d21e71dfae56644517994e1 | ||
// TypesFromSerializers CacheKey 460b4a83a2e81c9d693ac5490f9e0b76 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
import type Composer from './Composer' | ||
|
||
export default interface Song { | ||
id: number | ||
composer: Composer | ||
genre: "disco" | "rock" | "classical" | ||
tempo: "slow" | "medium" | "fast" | ||
title?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
playground/vanilla/db/migrate/20240227112250_add_enums_to_composers.rb
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
playground/vanilla/db/migrate/20240227112250_add_enums_to_songs.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddEnumsToSongs < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :songs, :genre, :string, null: false | ||
add_column :songs, :tempo, :integer, null: true | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters