Skip to content

Add base functionality#1

Open
justinko wants to merge 4 commits into
mainfrom
my-work
Open

Add base functionality#1
justinko wants to merge 4 commits into
mainfrom
my-work

Conversation

@justinko
Copy link
Copy Markdown
Owner

@justinko justinko commented Nov 9, 2023

I skipped RSpec and JavaScript to keep it under a couple hours.

class InitialMigration < ActiveRecord::Migration[7.1]
def change
create_table :quotes do |t|
t.text :text, null: false, index: { unique: true }
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's not many Ron Swanson quotes (I checked via https://ron-swanson-quotes.herokuapp.com/v2/quotes/1000), so this will scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant