-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactored, renaming to position_order for conistency, throw out orde…
…r_by column on brainstorming, use nil as default for order position instead of 0 to avoid bugs when dragging around a freshly created brainstorming
- Loading branch information
1 parent
8b9d248
commit caba8bf
Showing
7 changed files
with
30 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
priv/repo/migrations/20240905135921_add_order_position_to_ideas.exs
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
priv/repo/migrations/20240905135921_add_position_order_to_ideas.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
defmodule Mindwendel.Repo.Migrations.AddPositionOrderToIdeas do | ||
use Ecto.Migration | ||
|
||
def change do | ||
alter table(:ideas) do | ||
add :position_order, :integer, default: nil | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters