Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column Type #182

Closed
kg-bot opened this issue Oct 2, 2017 · 5 comments
Closed

Column Type #182

kg-bot opened this issue Oct 2, 2017 · 5 comments

Comments

@kg-bot
Copy link

kg-bot commented Oct 2, 2017

You should add column type float inside table creation.

It is same as decimal but you can enter round number and it won't add decimals to it.

@LukeTowers
Copy link
Contributor

Make a PR for it

@urgotto
Copy link

urgotto commented Nov 29, 2017

Hi guys, maybe it is not this issue but... Is it possible to add column type to builder from another plugin? I need a MySQL spatial point in doctrine, but when i add it direct through doctrine methods i can`t use builder to manage tables anymore...

@LukeTowers
Copy link
Contributor

@urgotto not right now, no. We'd need an event or something added in the code path for https://github.com/rainlab/builder-plugin/blob/master/classes/ModelModel.php#L193

@FaintlyRaiseIncome
Copy link

FaintlyRaiseIncome commented Sep 18, 2021

I want to add the json and unique type to the column types of the table, it is possible to do this without rewriting half of the code

@daftspunk
Copy link
Member

You should be able to add these to your migration files manually. If this causes interference with the builder UI, let us know.

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

No branches or pull requests

5 participants