socialforge/db/migrate/20150108034148_create_polls.rb

16 lines
326 B
Ruby
Raw Normal View History

class CreatePolls < ActiveRecord::Migration
def change
create_table :polls do |t|
t.string :polls_name
t.string :polls_type
t.integer :polls_group_id
t.integer :polls_status
t.integer :user_id
t.datetime :published_at
t.datetime :closed_at
t.timestamps
end
end
end