迁移字符集问题

project_pack
杨树明 5 years ago
parent 3f55927a7e
commit 5d03a2d617

@ -1,3 +1,4 @@
# encoding=utf-8
class TransferCompetitionPersonalEnrollData < ActiveRecord::Migration class TransferCompetitionPersonalEnrollData < ActiveRecord::Migration
CODES = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z) CODES = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z)

@ -1,3 +1,4 @@
# encoding=utf-8
class CreateLibraryTags < ActiveRecord::Migration class CreateLibraryTags < ActiveRecord::Migration
def change def change
create_table :library_tags do |t| create_table :library_tags do |t|

Loading…
Cancel
Save