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

Changing users table with prefix? #32

Closed
bhazboun123 opened this issue May 25, 2017 · 6 comments
Closed

Changing users table with prefix? #32

bhazboun123 opened this issue May 25, 2017 · 6 comments

Comments

@bhazboun123
Copy link

I am getting an error with installation since the users table exists with initial laravel installation

my question , how do I change ALL tables that Webed cms is using to start with a prefix like cms_*

can you please help

Thanks

@duysolo
Copy link
Owner

duysolo commented May 26, 2017

To install WebEd, please use command

composer create-project sgsoft-studio/webed webed

It does not contain default migration of Laravel.

@bhazboun123
Copy link
Author

I already installed webed in an existing Laravel project, I just need to modify the tables prefix in the code for "users" and "password_reset" tables , can I do that?

@duysolo
Copy link
Owner

duysolo commented May 26, 2017

Currently I do not support that feature.
It's put on backlog already. I will implement it soon.

@bhazboun123
Copy link
Author

can you just point me to which files I need to modify so I can make this happen?

@duysolo
Copy link
Owner

duysolo commented May 27, 2017

You can run this command:

php artisan core:export webed-users
composer dump-autoload

Now, module Users will appear at core/users folder. You can edit them.

@bhazboun123
Copy link
Author

Great Thanks I will give it a try

@duysolo duysolo closed this as completed Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants