Show More
Commit Description:
update migration
Commit Description:
update migration
File last commit:
Show/Diff file:
Action:
db/migrate/024_create_sites.rb | 15 lines | 329 B | text/x-ruby | RubyLexer |
update migration
r822 class CreateSites < ActiveRecord::Migration[4.2]
jittat
[web] added site and time out basic functionality...
r85 def self.up
update migration
r822 create_table :sites, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do |t|
jittat
[web] added site and time out basic functionality...
r85 t.string :name
t.boolean :started
t.datetime :start_time
t.timestamps
end
end
def self.down
drop_table :sites
end
end