Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nudded committed Dec 19, 2024
1 parent 86e140f commit cc5dd07
Show file tree
Hide file tree
Showing 3 changed files with 451 additions and 5 deletions.
4 changes: 3 additions & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ development:
clickhouse:
adapter: clickhouse
database: default
schema_format: 'ruby'
host: clickhouse
port: 8123
username: default
Expand All @@ -44,9 +45,10 @@ test:
username: <%= ENV.fetch('LAGO_CLICKHOUSE_USERNAME', 'default') %>
password: <%= ENV.fetch('LAGO_CLICKHOUSE_PASSWORD', 'default') %>
migrations_paths: db/clickhouse_migrate
schema_format: 'ruby'
debug: true
database_tasks: <% if ENV['LAGO_CLICKHOUSE_MIGRATIONS_ENABLED'].present? %> true <% else %> false <% end %>
schema_dump: <% if ENV['LAGO_DISABLE_SCHEMA_DUMP'].present? %> false <% else %> clickhouse_structure.sql <% end %>
schema_dump: <% if ENV['LAGO_DISABLE_SCHEMA_DUMP'].present? %> false <% else %> clickhouse_schema.rb <% end %>

staging:
primary:
Expand Down
Loading

0 comments on commit cc5dd07

Please sign in to comment.