we_bridge_rails_engine_orgs 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/db/migrate/20151009112829_delete_names.rb +16 -0
- data/lib/we_bridge_rails_engine_orgs/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +9 -10
- data/spec/dummy/log/development.log +1428 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70806c714175bd3d8efacb924038e988dd920ac0
|
4
|
+
data.tar.gz: 34a7fea1ff36c1713cdcbc4452eda33e9ddd6832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef0f08236f7ff62b01ce5ce7e5d4889a23c2ef1af23dbd52b5284d705d81100c7f990a62b1f78805a587689ecd759fdad8c05fd163f0a0827262cd3d172461e8
|
7
|
+
data.tar.gz: 3150d0cae69a070ca4d6ba2f9aaa05f09a5667bb362de8223e334d14bcbdeb166c7238bd821c2d0813f41121f242f1d531f67a36fff297a3cd7477818e2ea985
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
class DeleteNames < ActiveRecord::Migration
|
2
|
+
@@name_columns = ["family_name","given_name", "family_name_pron","given_name_pron"]
|
3
|
+
def self.up
|
4
|
+
remove_column :org_members, :handle_name
|
5
|
+
@@name_columns.each do |col|
|
6
|
+
remove_column "org_member_texts", col, :string
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.down
|
11
|
+
add_column :org_members, :handle_name, :string
|
12
|
+
@@name_columns.each do |col|
|
13
|
+
add_column "org_member_texts", col, :string
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20151009112829) do
|
15
15
|
|
16
16
|
create_table "lang_texts", force: :cascade do |t|
|
17
17
|
t.integer "parent_id", null: false
|
@@ -141,16 +141,12 @@ ActiveRecord::Schema.define(version: 20150814183339) do
|
|
141
141
|
end
|
142
142
|
|
143
143
|
create_table "org_member_texts", force: :cascade do |t|
|
144
|
-
t.integer "parent_id",
|
145
|
-
t.integer "lang_id",
|
146
|
-
t.string "family_name"
|
147
|
-
t.string "given_name"
|
148
|
-
t.string "family_name_pron"
|
149
|
-
t.string "given_name_pron"
|
144
|
+
t.integer "parent_id", null: false
|
145
|
+
t.integer "lang_id", null: false
|
150
146
|
t.text "comment"
|
151
147
|
t.string "comment_format"
|
152
|
-
t.datetime "created_at",
|
153
|
-
t.datetime "updated_at",
|
148
|
+
t.datetime "created_at", null: false
|
149
|
+
t.datetime "updated_at", null: false
|
154
150
|
end
|
155
151
|
|
156
152
|
add_index "org_member_texts", ["lang_id", "parent_id"], name: "index_org_member_texts_on_lang_id_and_parent_id", unique: true
|
@@ -187,9 +183,12 @@ ActiveRecord::Schema.define(version: 20150814183339) do
|
|
187
183
|
t.integer "sex", limit: 1
|
188
184
|
t.datetime "expire_at"
|
189
185
|
t.date "retired_on"
|
190
|
-
t.string "handle_name"
|
191
186
|
t.datetime "created_at", null: false
|
192
187
|
t.datetime "updated_at", null: false
|
188
|
+
t.string "family_name"
|
189
|
+
t.string "given_name"
|
190
|
+
t.string "family_name_pron"
|
191
|
+
t.string "given_name_pron"
|
193
192
|
end
|
194
193
|
|
195
194
|
create_table "org_texts", force: :cascade do |t|
|