[Movable Type] Movable Type 3.15へアップグレード
というわけで、重い腰を上げて3.15へアップグレードしました。
きっかけは昨日から大量のコメントスパムを食らったため、アンチコメントスパムなプラグインを導入しようとしたのですが、Callback APIを使っているため3.1以上じゃないと動かないからです。
ここを参考にしました。SubCategoriesプラグインを入れていたため、カテゴリーの再階層化が面倒でしたがサクッとうまくいった模様です。
なお、3.0から3.1にアップデートしたのですがアップデートログによると
Upgrading your databases:
Running 'alter table mt_blog add blog_ping_technorati tinyint'
Running 'alter table mt_blog add blog_children_modified_on datetime'
Running 'alter table mt_blog add blog_custom_dynamic_templates varchar(25)'
Running 'update mt_blog set blog_custom_dynamic_templates = 'none''
Running 'alter table mt_template add template_created_on datetime not null'
Running 'alter table mt_template add template_modified_on timestamp not null'
Running 'alter table mt_template add template_created_by integer'
Running 'alter table mt_template add template_modified_by integer'
Running 'alter table mt_template add template_build_dynamic tinyint'
Running 'update mt_template set template_build_dynamic = 0 where template_build_dynamic <> 1'
Running 'alter table mt_template modify template_build_dynamic tinyint not null'
Running 'alter table mt_category add category_parent integer'
Running 'update mt_category set category_parent = 0'
Running 'alter table mt_category modify category_parent integer not null'
Running 'alter table mt_entry modify entry_basename varchar(50) not null'
Running 'create table mt_fileinfo (
fileinfo_id integer primary key auto_increment,
fileinfo_blog_id integer not null,
fileinfo_entry_id integer,
fileinfo_url varchar(255),
fileinfo_file_path text,
fileinfo_template_id integer,
fileinfo_templatemap_id integer,
fileinfo_archive_type varchar(255),
fileinfo_category_id integer,
fileinfo_startdate varchar(80),
fileinfo_virtual tinyint,
index(fileinfo_blog_id),
index(fileinfo_entry_id),
index(fileinfo_url)
)
'
Creating Dynamic Site Bootstrapper.
Creating Dynamic Pages Error Template.
Done upgrading your schema! All went well.
こんな感じな変更が加わったようです。

Comments (2)
あ、ワタシもMovable Typeでブログを作りたいと思っていますが…。
なかなか手が出せずにいます(笑)
リエ 2005.02.03 23:23
リエ様>
見た目を変えるのはちょっと面倒くさいかもですが、レンタルサーバーを借りたら結構簡単にインストールできますよ。
僕はロリポップってとこでレンタルしてるのですが、あっという間にインストールできました。
値段も月額270円程度で安いのでまぁまぁお勧めです。
hide
2005.02.03 23:52