fixes conflicts with poll branch

This commit is contained in:
rgarcia
2016-09-20 11:53:40 +02:00
18 changed files with 209 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
class CreatePolls < ActiveRecord::Migration
def change
create_table :polls do |t|
t.string :name
end
end
end

View File

@@ -0,0 +1,7 @@
class CreatePollOfficers < ActiveRecord::Migration
def change
create_table :poll_officers do |t|
t.integer :user_id
end
end
end

View File

@@ -281,6 +281,10 @@ ActiveRecord::Schema.define(version: 20160914172535) do
t.string "document_type"
end
create_table "poll_officers", force: :cascade do |t|
t.integer "user_id"
end
create_table "polls", force: :cascade do |t|
t.string "name"
end