lib/generators/motor/templates/install.rb in motor-admin-0.2.57 vs lib/generators/motor/templates/install.rb in motor-admin-0.2.58

- old
+ new

@@ -121,13 +121,13 @@ name: 'motor_polymorphic_association_tag_index', unique: true end create_table :motor_audits do |t| - t.column :auditable_id, :bigint + t.column :auditable_id, :string t.column :auditable_type, :string - t.column :associated_id, :bigint + t.column :associated_id, :string t.column :associated_type, :string t.column :user_id, :bigint t.column :user_type, :string t.column :username, :string t.column :action, :string @@ -170,10 +170,10 @@ path: 'https://github.com/motor-admin/motor-admin-rails' }].to_json) model.table_name = 'motor_api_configs' - model.create!(name: 'origin', path: '/') + model.create!(name: 'origin', url: '/', preferences: {}, credentials: {}) end def self.down drop_table :motor_audits drop_table :motor_alert_locks