fix tag field names

This commit is contained in:
2021-09-10 00:41:06 -04:00
committed by oliviasculley
parent 3cdd7729a6
commit 0bf93b4945
5 changed files with 20 additions and 20 deletions

View File

@ -5,8 +5,8 @@ defmodule Cannery.Repo.Migrations.CreateTags do
create table(:tags, primary_key: false) do
add :id, :binary_id, primary_key: true
add :name, :string
add :"bg-color", :string
add :"text-color", :string
add :bg_color, :string
add :text_color, :string
add :user_id, references(:users, on_delete: :nothing, type: :binary_id)
timestamps()