Sha256: 18abedc4f21011bf8f8a7320951a856d5b1c32aa785897270aa409fd7d2139bb

Contents?: true

Size: 954 Bytes

Versions: 9

Compression:

Stored size: 954 Bytes

Contents

class CreateWeixinCustomsServiceRecords < ActiveRecord::Migration
  def change
      execute 'CREATE TABLE `weixin_customs_service_records` (
                `id` int(11) NOT NULL AUTO_INCREMENT,
                `openid` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
                `opercode` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
                `text` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
                `time` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
                `worker` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
                `created_at` datetime DEFAULT NULL,
                `updated_at` datetime DEFAULT NULL,
                `weixin_public_account_id` int(11) DEFAULT NULL,
                PRIMARY KEY (`id`)
              ) ENGINE=InnoDB AUTO_INCREMENT=88 DEFAULT CHARSET=utf8;'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
eric_weixin-0.4.2 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.4.1 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.4.0 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.3.3 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.3.2 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.3.1 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.3.0 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.2.3 db/migrate/20150910024059_create_weixin_customs_service_records.rb
eric_weixin-0.2.1 db/migrate/20150910024059_create_weixin_customs_service_records.rb