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

artisan migrate:install #2

Open
JYouness opened this issue Apr 8, 2013 · 1 comment
Open

artisan migrate:install #2

JYouness opened this issue Apr 8, 2013 · 1 comment

Comments

@JYouness
Copy link

JYouness commented Apr 8, 2013

First of all, thanks a lot for this 'sublime' package, i really need it for my laravel projects.
You just forgot a command : install migration table.

Under the folder Artisan in Packages folder :


  • "Default.sublime-commands" file add this lines :

{
"id" : "sublimeartisanmigrateinstall",
"caption" : "Sublime Artisan Migrate:Install",
"command" : "sublime_artisan_migrate_install"
}


  • "SublimeArtisan.py" file add this lines :

class SublimeArtisanMigrateInstallCommand(sublime_plugin.TextCommand):
def run(self, edit):
folder = self.view.window().folders()[0]
os.chdir(folder)
self.view.window().run_command("exec", {
"cmd" : ["php", "artisan", "migrate:install"],
"shell" : False,
"working_dir" : folder})

sorry for my language, i'm a french speaker

@Narven
Copy link
Owner

Narven commented Apr 10, 2013

Hi,

I will update it soon :)

thanks

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