Show More
Commit Description:
utf8mb4
Commit Description:
utf8mb4
File last commit:
Show/Diff file:
Action:
db/migrate/034_create_countries.rb | 12 lines | 295 B | text/x-ruby | RubyLexer |
update migration
r822 class CreateCountries < ActiveRecord::Migration[4.2]
jittat
[web] import from site...
r106 def self.up
update migration
r822 create_table :countries, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do |t|
jittat
[web] import from site...
r106 t.column :name, :string
t.timestamps
end
end
def self.down
drop_table :countries
end
end