GoodAnalytics.Migrations.V01 (GoodAnalytics v0.1.1)

Copy Markdown View Source

Initial GoodAnalytics schema — creates all core tables.

Tables created:

  • ga_visitors — visitor identity graph
  • ga_links — short links, referral links, campaign links
  • ga_events — unified event stream (partitioned by month)
  • ga_domains — custom short link domains
  • ga_api_keys — two-tier API key auth
  • ga_settings — per-workspace runtime settings

Summary

Functions

Rolls back this version's migration by executing the down SQL file.

Applies this version's migration by executing the up SQL file.

Functions

down(opts \\ [])

@spec down(keyword()) :: :ok

Rolls back this version's migration by executing the down SQL file.

up(opts \\ [])

@spec up(keyword()) :: :ok

Applies this version's migration by executing the up SQL file.