Skip to content

Comments

"Add ID column" Button for Migration Editor#293

Merged
bennothommo merged 16 commits intorainlab:masterfrom
danharrin:patch-1
Jul 26, 2019
Merged

"Add ID column" Button for Migration Editor#293
bennothommo merged 16 commits intorainlab:masterfrom
danharrin:patch-1

Conversation

@danharrin
Copy link
Contributor

I always see myself repeating the same few steps on all of my models to add an ID column, so I added a button to do it for me - just to save that little bit of time.

Screenshot

danharrin and others added 6 commits July 21, 2019 06:51
Co-Authored-By: Ben Thomson <ben@abweb.com.au>
Co-Authored-By: Ben Thomson <ben@abweb.com.au>
@danharrin
Copy link
Contributor Author

All done @bennothommo

@bennothommo
Copy link
Contributor

@danharrin I have tested this - it works fine with no columns inserted, but if you were to enter a column (say a string) first, then click the "Add ID" button, it overwrites the first column. See below:

ID Column Issue

@danharrin
Copy link
Contributor Author

@bennothommo @w20k that issue should be fixed with my most recent commit.

@danharrin
Copy link
Contributor Author

I apologise @w20k, that was used during testing and was not recompiled. It's been fixed.

@w20k
Copy link

w20k commented Jul 24, 2019

@bennothommo - done, but re-testing needed!

@bennothommo
Copy link
Contributor

@danharrin tested it and it is working all good now. Just a couple of minor tweaks and I'll merge it! Well done :)

@danharrin
Copy link
Contributor Author

Done the explicit checks @bennothommo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants