Skip to content

Conversation

@jonatas
Copy link
Contributor

@jonatas jonatas commented Mar 4, 2025

It relates to #111 and #112.

@jonatas jonatas force-pushed the update-extension branch from 432e050 to 71db13d Compare March 4, 2025 16:15
@exterm
Copy link

exterm commented Mar 5, 2025

two thoughts:

  • I don't have a DATABASE_URL env var. Rails apps usually keep database configuration in config/database.yml, but you should be able to read it from Rails.configuration at run time
  • instead of manually requiring the rake task from the Rakefile, have you considered using a railtie to inject it from the gem? The railtie could also inject an initializer to initialize the TimescaleDB connection.

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.

3 participants