foreman_users 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- class CreateSyusers < ActiveRecord::Migration
1
+ class CreateForemanUsersusers < ActiveRecord::Migration
2
2
  def change
3
- create_table :syusers do |t|
3
+ create_table :foreman_users_users do |t|
4
4
  t.string :name #名称
5
5
  t.string :ensure #下拉菜单
6
6
  t.string :gid #输入框
@@ -1,11 +1,12 @@
1
- class CreateSygroups < ActiveRecord::Migration
1
+ class CreateForemaUsersgroups < ActiveRecord::Migration
2
2
  def change
3
- create_table :sygroups do |t|
3
+ create_table :foreman_users_groups do |t|
4
4
  t.string :name
5
5
  t.string :ensure
6
6
  t.string :gid
7
7
  t.string :groupable_type
8
8
  t.integer :groupable_id
9
+ t.integer :user_id
9
10
  t.timestamps
10
11
  end
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanUsers
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_users
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -87,9 +87,8 @@ files:
87
87
  - app/controllers/foreman_users/hosts_controller.rb
88
88
  - app/controllers/foreman_users/users_controller.rb
89
89
  - config/routes.rb
90
- - db/migrate/20150918050239_create_sygroups.rb
91
- - db/migrate/20150918055455_add_syuser_id_to_sygroup.rb
92
- - db/migrate/20150918022411_create_syusers.rb
90
+ - db/migrate/20150918022411_create_foreman_users_users.rb
91
+ - db/migrate/20150918050239_create_foreman_users_groups.rb
93
92
  - lib/foreman_users.rb
94
93
  - lib/foreman_users/engine.rb
95
94
  - lib/foreman_users/version.rb
@@ -1,5 +0,0 @@
1
- class AddSyuserIdToSygroup < ActiveRecord::Migration
2
- def change
3
- add_column :sygroups, :syuser_id, :integer
4
- end
5
- end