stubbed in view code from old danbooru; only janitors can lock a wiki page

This commit is contained in:
albert
2011-02-28 14:18:39 -05:00
parent 6d0157265c
commit 9e7efbd295
47 changed files with 1124 additions and 79 deletions

View File

@@ -3,6 +3,8 @@ class CreatePosts < ActiveRecord::Migration
create_table :posts do |t|
t.timestamps
t.column :up_score, :integer, :null => false, :default => 0
t.column :down_score, :integer, :null => false, :default => 0
t.column :score, :integer, :null => false, :default => 0
t.column :source, :string
t.column :md5, :string, :null => false