forked from shibao/cannery
fix tag field names
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user