merges master and fixes conflicts

This commit is contained in:
kikito
2015-08-17 02:40:11 +02:00
220 changed files with 14524 additions and 17665 deletions

View File

@@ -0,0 +1,15 @@
class CreateSimpleCaptchaData < ActiveRecord::Migration
def self.up
create_table :simple_captcha_data do |t|
t.string :key, :limit => 40
t.string :value, :limit => 6
t.timestamps
end
add_index :simple_captcha_data, :key, :name => "idx_key"
end
def self.down
drop_table :simple_captcha_data
end
end

View File

@@ -0,0 +1,9 @@
class AddChildrenCountToComments < ActiveRecord::Migration
def up
add_column :comments, :children_count, :integer, default: 0
end
def down
remove_column :comments, :children_count
end
end

View File

@@ -0,0 +1,5 @@
class AddFeaturedToTags < ActiveRecord::Migration
def change
add_column :tags, :featured, :boolean, default: false
end
end