defmodule Helix.Software.Repo.Migrations.AddFileModuleVersionConstraint do
  use Ecto.Migration

  def change do
    create constraint(:file_modules, :module_version_must_be_positive, check: "module_version > 0")
  end
end

Add constraint to `FileModule`'s `module_version`, it must always be positive.
Add constraint to `FileModule`'s `module_version`, it must always be positive.

HackerExperience/Helix,renatomassaro/Helix,renatomassaro/Helix,HackerExperience/Helix,mememori/Helix