Comments (1)
Here the solution. You need to replace the migration file inside plugin with this!
<?php namespace AnandPatel\SeoExtension\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
use System\Classes\PluginManager;
class CreateBlogPostsTable extends Migration
{
public function up()
{
if(PluginManager::instance()->hasPlugin('RainLab.Blog'))
{
Schema::table('rainlab_blog_posts', function($table)
{
$table->string('seo_title')->nullable();
$table->string('seo_description')->nullable();
$table->string('seo_keywords')->nullable();
$table->string('canonical_url')->nullable();
$table->string('redirect_url')->nullable();
$table->string('robot_index')->nullable();
$table->string('robot_follow')->nullable();
});
}
}
public function down()
{
if(PluginManager::instance()->hasPlugin('RainLab.Blog'))
{
Schema::table('rainlab_blog_posts', function($table)
{
$table->dropColumn(['seo_title', 'seo_description', 'seo_keywords', 'canonical_url', 'redirect_url', 'robot_index', 'robot_follow']);
});
}
}
}
from oc-seo-extension.
Related Issues (20)
- Support Blog Category HOT 2
- Add Permissions For Users HOT 1
- og description HOT 1
- Plugin alters other plugins' tables HOT 3
- Settings break on lastest edge release HOT 2
- OG:Image field request HOT 6
- seo-extension-blog-error HOT 2
- SEO Settings Error with Build 349 HOT 5
- repeater field is bugged after installing this plugin HOT 2
- Is there intentions to make this work with the Translate plugin? HOT 1
- bug with translate to components/StaticPage
- Title and description tags are duplicated HOT 3
- Add Settings Permissions HOT 1
- Bump version for marketplace
- After uninstall remains record in DB HOT 1
- readme update request: install instructions
- Expects prefixed paths if rainlab translate plugin is present
- Compatibility with Winter CMS HOT 2
- I18N and L10N HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oc-seo-extension.