diff --git a/db/migrate/20150318025244_add_owner_type_to_kind_editor_assets.rb b/db/migrate/20150318025244_add_owner_type_to_kind_editor_assets.rb new file mode 100644 index 000000000..8a679c0d9 --- /dev/null +++ b/db/migrate/20150318025244_add_owner_type_to_kind_editor_assets.rb @@ -0,0 +1,5 @@ +class AddOwnerTypeToKindEditorAssets < ActiveRecord::Migration + def change + add_column :kindeditor_assets,:owner_type,:string + end +end diff --git a/db/migrate/20150324021043_change_owner_type_in_kindeditor_assets.rb b/db/migrate/20150324021043_change_owner_type_in_kindeditor_assets.rb new file mode 100644 index 000000000..67876e361 --- /dev/null +++ b/db/migrate/20150324021043_change_owner_type_in_kindeditor_assets.rb @@ -0,0 +1,8 @@ +class ChangeOwnerTypeInKindeditorAssets < ActiveRecord::Migration + def up + execute(" ALTER TABLE `kindeditor_assets` MODIFY COLUMN `owner_type` int(11) DEFAULT 0") + end + + def down + end +end