Changeset 11483
- Timestamp:
- Apr 26, 2009, 9:35:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/trunk/config/doctrine/schema.yml
r11479 r11483 1 CommunityMember: 2 tableName: community_member 3 columns: 4 id: 5 type: integer(4) 6 primary: true 7 autoincrement: true 8 community_id: 9 type: integer(4) 10 notnull: true 11 member_id: 12 type: integer(4) 13 notnull: true 14 position: 15 type: string(32) 16 default: "" 17 relations: 18 Community: 19 local: community_id 20 foreign: id 21 type: one 22 Member: 23 local: member_id 24 foreign: id 25 type: one 26 options: 27 charset: utf8 28 AdminUser: 29 tableName: admin_user 30 columns: 31 id: 32 type: integer(4) 33 primary: true 34 autoincrement: true 35 username: 36 type: string(64) 37 default: "" 38 notnull: true 39 password: 40 type: string(40) 41 default: "" 42 notnull: true 43 options: 44 charset: utf8 1 Member: 2 tableName: member 3 actAs: [Timestampable,opActivateBehavior] 4 columns: 5 id: { type: integer(4), primary: true, autoincrement: true } 6 name: { type: string(64), default: "", notnull: true } 7 invite_member_id: { type: integer(4) } 8 relations: 9 Member: { local: invite_member_id, foreign: id, type: one } 10 options: 11 charset: utf8 12 13 MemberRelationship: 14 tableName: member_relationship 15 columns: 16 id: { type: integer(4), primary: true, autoincrement: true } 17 member_id_to: { type: integer(4), notnull: true } 18 member_id_from: { type: integer(4), notnull: true } 19 is_friend: { type: boolean } 20 is_friend_pre: { type: boolean } 21 is_access_block: { type: boolean } 22 relations: 23 Member: { local: member_id_to, foreign: id, type: one } 24 Member_2: { class: Member, local: member_id_from, foreign: id, type: one } 25 options: 26 charset: utf8 27 28 MemberImage: 29 tableName: member_image 30 columns: 31 id: { type: integer(4), primary: true, autoincrement: true } 32 member_id: { type: integer(4), notnull: true } 33 file_id: { type: integer(4), notnull: true } 34 is_primary: boolean 35 relations: 36 Member: { local: member_id, foreign: id, type: one } 37 File: { local: file_id, foreign: id, type: one } 38 options: 39 charset: utf8 40 41 File: 42 tableName: file 43 actAs: [Timestampable] 44 columns: 45 id: { type: integer(4), primary: true, autoincrement: true } 46 name: { type: string(64), default: "", notnull: true } 47 type: { type: string(64), default: "", notnull: true } 48 original_filename: { type: string(2147483647) } 49 relations: 50 FileBin: { local: id, foreign: file_id, type: one } 51 options: 52 charset: utf8 53 54 FileBin: 55 tableName: file_bin 56 columns: 57 file_id: { type: integer(4), primary: true } 58 bin: { type: blob(2147483647) } 59 options: 60 charset: utf8 61 62 Profile: 63 tableName: profile 64 actAs: 65 I18n: 66 fields: [caption, info] 67 length: 5 68 columns: 69 id: { type: integer(4), primary: true, autoincrement: true } 70 name: { type: string(64), default: "", notnull: true } 71 is_required: { type: boolean, default: false, notnull: true } 72 is_unique: { type: boolean, default: false, notnull: true } 73 is_edit_public_flag: { type: boolean, default: false, notnull: true } 74 default_public_flag: { type: integer(1), default: '1', notnull: true } 75 form_type: { type: string(32), default: "", notnull: true } 76 value_type: { type: string(32), default: "", notnull: true } 77 is_disp_regist: { type: boolean, default: false, notnull: true } 78 is_disp_config: { type: boolean, default: false, notnull: true } 79 is_disp_search: { type: boolean, default: false, notnull: true } 80 value_regexp: { type: string(2147483647) } 81 value_min: { type: string(32) } 82 value_max: { type: string(32) } 83 sort_order: { type: integer(4) } 84 caption: { type: string(2147483647), notnull: true } 85 info: { type: string(2147483647) } 86 options: 87 charset: utf8 88 89 ProfileOption: 90 tableName: profile_option 91 actAs: 92 I18n: 93 fields: [value] 94 length: 5 95 columns: 96 id: { type: integer(4), primary: true, autoincrement: true } 97 profile_id: { type: integer(4), notnull: true } 98 value: { type: string(2147483647) } 99 sort_order: { type: integer(4) } 100 relations: 101 Profile: { local: profile_id, foreign: id, type: one } 102 options: 103 charset: utf8 104 105 MemberProfile: 106 tableName: member_profile 107 actAs: 108 NestedSet: 109 hasManyRoots: true 110 rootColumnName: tree_key 111 columns: 112 id: { type: integer(4), primary: true, autoincrement: true } 113 member_id: { type: integer(4), notnull: true } 114 profile_id: { type: integer(4), notnull: true } 115 profile_option_id: { type: integer(4) } 116 value: { type: string(2147483647) } 117 public_flag: { type: integer(1) } 118 relations: 119 Member: { local: member_id, foreign: id, type: one } 120 Profile: { local: profile_id, foreign: id, type: one } 121 ProfileOption: { local: profile_option_id, foreign: id, type: one } 122 options: 123 charset: utf8 124 45 125 Community: 46 126 tableName: community 47 127 actAs: [Timestampable] 48 128 columns: 49 id: 50 type: integer(4) 51 primary: true 52 autoincrement: true 53 name: 54 type: string(64) 55 default: "" 56 notnull: true 57 file_id: integer(4) 58 community_category_id: integer(4) 59 relations: 60 File: 61 local: file_id 62 foreign: id 63 type: one 64 CommunityCategory: 65 local: community_category_id 66 foreign: id 67 type: one 68 options: 69 charset: utf8 70 MemberRelationship: 71 tableName: member_relationship 72 columns: 73 id: 74 type: integer(4) 75 primary: true 76 autoincrement: true 77 member_id_to: 78 type: integer(4) 79 notnull: true 80 member_id_from: 81 type: integer(4) 82 notnull: true 83 is_friend: boolean 84 is_friend_pre: boolean 85 is_access_block: boolean 86 relations: 87 Member: 88 local: member_id_to 89 foreign: id 90 type: one 91 Member_2: 92 class: Member 93 local: member_id_from 94 foreign: id 95 type: one 96 options: 97 charset: utf8 129 id: { type: integer(4), primary: true, autoincrement: true } 130 name: { type: string(64), default: "", notnull: true } 131 file_id: { type: integer(4) } 132 community_category_id: { type: integer(4) } 133 relations: 134 File: { local: file_id, foreign: id, type: one } 135 CommunityCategory: { local: community_category_id, foreign: id, type: one } 136 options: 137 charset: utf8 138 139 CommunityMember: 140 tableName: community_member 141 columns: 142 id: { type: integer(4), primary: true, autoincrement: true } 143 community_id: { type: integer(4), notnull: true } 144 member_id: { type: integer(4), notnull: true } 145 position: { type: string(32), default: "" } 146 relations: 147 Community: { local: community_id, foreign: id, type: one } 148 Member: { local: member_id, foreign: id, type: one } 149 options: 150 charset: utf8 151 152 AdminUser: 153 tableName: admin_user 154 columns: 155 id: { type: integer(4), primary: true, autoincrement: true } 156 username: { type: string(64), default: "", notnull: true } 157 password: { type: string(40), default: "", notnull: true } 158 options: 159 charset: utf8 160 161 SnsConfig: 162 tableName: sns_config 163 columns: 164 id: { type: integer(4), primary: true, autoincrement: true } 165 name: { type: string(64), default: "", notnull: true } 166 value: { type: string(2147483647) } 167 options: 168 charset: utf8 169 170 MemberConfig: 171 tableName: member_config 172 columns: 173 id: { type: integer(4), primary: true, autoincrement: true } 174 member_id: { type: integer(4), notnull: true } 175 name: { type: string(64), default: "", notnull: true } 176 value: { type: string(2147483647) } 177 relations: 178 Member: { local: member_id, foreign: id, type: one } 179 options: 180 charset: utf8 181 98 182 CommunityConfig: 99 183 tableName: community_config 100 184 columns: 101 id: 102 type: integer(4) 103 primary: true 104 autoincrement: true 105 community_id: 106 type: integer(4) 107 notnull: true 108 name: 109 type: string(64) 110 default: "" 111 notnull: true 112 value: string(2147483647) 113 relations: 114 Community: 115 local: community_id 116 foreign: id 117 type: one 118 options: 119 charset: utf8 120 MemberConfig: 121 tableName: member_config 122 columns: 123 id: 124 type: integer(4) 125 primary: true 126 autoincrement: true 127 member_id: 128 type: integer(4) 129 notnull: true 130 name: 131 type: string(64) 132 default: "" 133 notnull: true 134 value: string(2147483647) 135 relations: 136 Member: 137 local: member_id 138 foreign: id 139 type: one 140 options: 141 charset: utf8 142 Profile: 143 tableName: profile 144 actAs: 145 I18n: 146 fields: [caption, info] 147 length: 5 148 columns: 149 id: 150 type: integer(4) 151 primary: true 152 autoincrement: true 153 name: 154 type: string(64) 155 default: "" 156 notnull: true 157 is_required: 158 type: boolean 159 default: false 160 notnull: true 161 is_unique: 162 type: boolean 163 default: false 164 notnull: true 165 is_edit_public_flag: 166 type: boolean 167 default: false 168 notnull: true 169 default_public_flag: 170 type: integer(1) 171 default: '1' 172 notnull: true 173 form_type: 174 type: string(32) 175 default: "" 176 notnull: true 177 value_type: 178 type: string(32) 179 default: "" 180 notnull: true 181 is_disp_regist: 182 type: boolean 183 default: false 184 notnull: true 185 is_disp_config: 186 type: boolean 187 default: false 188 notnull: true 189 is_disp_search: 190 type: boolean 191 default: false 192 notnull: true 193 value_regexp: string(2147483647) 194 value_min: string(32) 195 value_max: string(32) 196 sort_order: integer(4) 197 caption: 198 type: string(2147483647) 199 notnull: true 200 info: string(2147483647) 201 options: 202 charset: utf8 203 SnsConfig: 204 tableName: sns_config 205 columns: 206 id: 207 type: integer(4) 208 primary: true 209 autoincrement: true 210 name: 211 type: string(64) 212 default: "" 213 notnull: true 214 value: string(2147483647) 215 options: 216 charset: utf8 217 MemberImage: 218 tableName: member_image 219 columns: 220 id: 221 type: integer(4) 222 primary: true 223 autoincrement: true 224 member_id: 225 type: integer(4) 226 notnull: true 227 file_id: 228 type: integer(4) 229 notnull: true 230 is_primary: boolean 231 relations: 232 Member: 233 local: member_id 234 foreign: id 235 type: one 236 File: 237 local: file_id 238 foreign: id 239 type: one 240 options: 241 charset: utf8 242 Blacklist: 243 tableName: blacklist 244 columns: 245 id: 246 type: integer(4) 247 primary: true 248 autoincrement: true 249 uid: 250 type: string(32) 251 default: "" 252 notnull: true 253 memo: string(2147483647) 254 options: 255 charset: utf8 256 MemberProfile: 257 tableName: member_profile 185 id: { type: integer(4), primary: true, autoincrement: true } 186 community_id: { type: integer(4), notnull: true } 187 name: { type: string(64), default: "", notnull: true } 188 value: { type: string(2147483647) } 189 relations: 190 Community: { local: community_id, foreign: id, type: one } 191 options: 192 charset: utf8 193 194 CommunityCategory: 195 tableName: community_category 258 196 actAs: 259 197 NestedSet: … … 261 199 rootColumnName: tree_key 262 200 columns: 263 id: 264 type: integer(4) 265 primary: true 266 autoincrement: true 267 member_id: 268 type: integer(4) 269 notnull: true 270 profile_id: 271 type: integer(4) 272 notnull: true 273 profile_option_id: integer(4) 274 value: string(2147483647) 275 public_flag: integer(1) 276 relations: 277 Member: 278 local: member_id 279 foreign: id 280 type: one 281 Profile: 282 local: profile_id 283 foreign: id 284 type: one 285 ProfileOption: 286 local: profile_option_id 287 foreign: id 288 type: one 289 options: 290 charset: utf8 291 FileBin: 292 tableName: file_bin 293 columns: 294 file_id: 295 type: integer(4) 296 primary: true 297 bin: blob(2147483647) 298 options: 299 charset: utf8 300 CommunityCategory: 301 tableName: community_category 302 actAs: 303 NestedSet: 304 hasManyRoots: true 305 rootColumnName: tree_key 306 columns: 307 id: 308 type: integer(4) 309 primary: true 310 autoincrement: true 311 name: 312 type: string(64) 313 default: "" 314 notnull: true 315 is_allow_member_community: 316 type: boolean 317 default: true 318 notnull: true 319 tree_key: integer(4) 320 sort_order: integer(4) 321 options: 322 charset: utf8 201 id: { type: integer(4), primary: true, autoincrement: true } 202 name: { type: string(64), default: "", notnull: true } 203 is_allow_member_community: { type: boolean, default: true, notnull: true } 204 tree_key: { type: integer(4) } 205 sort_order: { type: integer(4) } 206 options: 207 charset: utf8 208 209 Gadget: 210 tableName: gadget 211 columns: 212 id: { type: integer(4), primary: true, autoincrement: true } 213 type: { type: string(64), default: "", notnull: true } 214 name: { type: string(64), default: "", notnull: true } 215 sort_order: { type: integer(4) } 216 options: 217 charset: utf8 218 323 219 GadgetConfig: 324 220 tableName: gadget_config 325 221 columns: 326 id: 327 type: integer(4) 328 primary: true 329 autoincrement: true 330 name: 331 type: string(64) 332 default: "" 333 notnull: true 334 gadget_id: integer(4) 335 value: string(2147483647) 336 relations: 337 Gadget: 338 local: gadget_id 339 foreign: id 340 type: one 341 options: 342 charset: utf8 343 ProfileOption: 344 tableName: profile_option 345 actAs: 346 I18n: 347 fields: [value] 348 length: 5 349 columns: 350 id: 351 type: integer(4) 352 primary: true 353 autoincrement: true 354 profile_id: 355 type: integer(4) 356 notnull: true 357 value: string(2147483647) 358 sort_order: integer(4) 359 relations: 360 Profile: 361 local: profile_id 362 foreign: id 363 type: one 364 options: 365 charset: utf8 366 Gadget: 367 tableName: gadget 368 columns: 369 id: 370 type: integer(4) 371 primary: true 372 autoincrement: true 373 type: 374 type: string(64) 375 default: "" 376 notnull: true 377 name: 378 type: string(64) 379 default: "" 380 notnull: true 381 sort_order: integer(4) 382 options: 383 charset: utf8 384 File: 385 tableName: file 386 actAs: [Timestampable] 387 columns: 388 id: 389 type: integer(4) 390 primary: true 391 autoincrement: true 392 name: 393 type: string(64) 394 default: "" 395 notnull: true 396 type: 397 type: string(64) 398 default: "" 399 notnull: true 400 original_filename: string(2147483647) 401 relations: 402 FileBin: 403 local: id 404 foreign: file_id 405 type: one 406 options: 407 charset: utf8 222 id: { type: integer(4), primary: true, autoincrement: true } 223 name: { type: string(64), default: "", notnull: true } 224 gadget_id: { type: integer(4) } 225 value: { type: string(2147483647) } 226 relations: 227 Gadget: { local: gadget_id, foreign: id, type: one } 228 options: 229 charset: utf8 230 408 231 Navigation: 409 232 tableName: navigation … … 413 236 length: 5 414 237 columns: 415 id: 416 type: integer(4) 417 primary: true 418 autoincrement: true 419 caption: 420 type: string(2147483647) 421 notnull: true 422 type: 423 type: string(64) 424 default: "" 425 notnull: true 426 uri: 427 type: string(2147483647) 428 notnull: true 429 sort_order: integer(4) 430 options: 431 charset: utf8 432 Member: 433 tableName: member 434 actAs: [Timestampable,opActivateBehavior] 435 columns: 436 id: 437 type: integer(4) 438 primary: true 439 autoincrement: true 440 name: 441 type: string(64) 442 default: "" 443 notnull: true 444 invite_member_id: integer(4) 445 relations: 446 Member: 447 local: invite_member_id 448 foreign: id 449 type: one 450 options: 451 charset: utf8 238 id: { type: integer(4), primary: true, autoincrement: true } 239 caption: { type: string(2147483647), notnull: true } 240 type: { type: string(64), default: "", notnull: true } 241 uri: { type: string(2147483647), notnull: true } 242 sort_order: { type: integer(4) } 243 options: 244 charset: utf8 245 246 Blacklist: 247 tableName: blacklist 248 columns: 249 id: { type: integer(4), primary: true, autoincrement: true } 250 uid: { type: string(32), default: "", notnull: true } 251 memo: { type: string(2147483647) } 252 options: 253 charset: utf8
Note: See TracChangeset
for help on using the changeset viewer.