Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibondarev committed Aug 27, 2024
1 parent 668bf4e commit fd6eec9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ def create_prompt_model
template "prompt_model.rb", "app/models/prompt.rb"
migration_template "create_prompts.rb", "db/migrate/create_prompts.rb"
end

def migration_version
"[#{::ActiveRecord::VERSION::MAJOR}.#{::ActiveRecord::VERSION::MINOR}]"
end
end
end
end

0 comments on commit fd6eec9

Please sign in to comment.