Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CreateAdminUsersSummaryActivities < ActiveRecord::Migration
- def change
- create_table :admin_users_summary_activities do |t|
- t.column :user_id, :integer, null: false
- t.column :activity, :integer, default: 0
- t.column :date, :date, null: false
- t.timestamps
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement