Show More
Commit Description:
update migration
Commit Description:
update migration
File last commit:
Show/Diff file:
Action:
db/migrate/20150914090545_create_heart_beats.rb | 10 lines | 289 B | text/x-ruby | RubyLexer |
class CreateHeartBeats < ActiveRecord::Migration[4.2]
def change
create_table :heart_beats, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do |t|
t.column 'user_id',:integer
t.column 'ip_address',:string
t.timestamps
end
end
end