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

Add support views #4

Merged
merged 20 commits into from
Aug 1, 2019
Merged

Add support views #4

merged 20 commits into from
Aug 1, 2019

Conversation

pvsaintpe
Copy link
Member

@pvsaintpe pvsaintpe commented Jul 4, 2019

Extending Schema for support views:

Schema::createView(string $view, string $select, bool $materialize = false)
Schema::dropView(string $view)
Schema::hasView(string $view)

or

Schema::create('table', function (Blueprint $table) {
   $table->increments('id');
   $table->string('name');
   $table
        ->createView('users_with_name', "select * from users where name is not null")
        ->materialize();
});

@pvsaintpe pvsaintpe added the feature New Features label Jul 4, 2019
@pvsaintpe pvsaintpe added this to the 2.0.0 milestone Jul 4, 2019
@pvsaintpe pvsaintpe self-assigned this Jul 4, 2019
@pvsaintpe pvsaintpe requested a review from lazeevv July 4, 2019 01:28
@pvsaintpe pvsaintpe modified the milestones: 2.0.0, 2.3.0 Jul 8, 2019
@pvsaintpe pvsaintpe requested review from cugrif and Zlob July 12, 2019 19:31
@pvsaintpe pvsaintpe changed the title Feature/views Add support views Jul 13, 2019
@lazeevv
Copy link
Member

lazeevv commented Jul 14, 2019

нужно добавить в readme еще

@lazeevv
Copy link
Member

lazeevv commented Jul 15, 2019

Давай зарешаем конфликты, readme добавим и смержим это тоже

# Conflicts:
#	src/.meta.php
#	src/Schema/Blueprint.php
#	src/Schema/Builder.php
#	src/Schema/Grammars/PostgresGrammar.php
@pvsaintpe
Copy link
Member Author

@lazeevv подмержил свежий мастер - обновил readme - исправил конфликты

@pvsaintpe pvsaintpe assigned lazeevv and unassigned pvsaintpe Jul 24, 2019
@pvsaintpe
Copy link
Member Author

@lazeevv с этим готово мержи

@pvsaintpe pvsaintpe modified the milestones: 2.3.0, 2.4.0 Aug 1, 2019
@pvsaintpe pvsaintpe self-assigned this Aug 1, 2019
@lazeevv lazeevv merged commit 0e7964e into master Aug 1, 2019
@lazeevv lazeevv deleted the feature/views branch August 1, 2019 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants