projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added initial support fo QuickVotes. There is support for the creation
[selectricity]
/
db
/
migrate
/
001_create_quick_votes.rb
diff --git a/db/migrate/001_create_quick_votes.rb
b/db/migrate/001_create_quick_votes.rb
new file mode 100644
(file)
index 0000000..
a96c110
--- /dev/null
+++ b/
db/migrate/001_create_quick_votes.rb
@@ -0,0
+1,11
@@
+class CreateQuickVotes < ActiveRecord::Migration
+ def self.up
+ create_table :quick_votes do |t|
+ # t.column :name, :string
+ end
+ end
+
+ def self.down
+ drop_table :quick_votes
+ end
+end
Benjamin Mako Hill
||
Want to submit a patch?