adds dates to polls
This commit is contained in:
6
db/migrate/20161020112156_add_dates_to_polls.rb
Normal file
6
db/migrate/20161020112156_add_dates_to_polls.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddDatesToPolls < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :polls, :starts_at, :datetime
|
||||
add_column :polls, :ends_at, :datetime
|
||||
end
|
||||
end
|
||||
@@ -294,7 +294,9 @@ ActiveRecord::Schema.define(version: 20161102133838) do
|
||||
end
|
||||
|
||||
create_table "polls", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.string "name"
|
||||
t.datetime "starts_at"
|
||||
t.datetime "ends_at"
|
||||
end
|
||||
|
||||
create_table "proposal_notifications", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user