-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
102 lines (57 loc) · 2.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
NAME
Interchange6::Schema - Database Schema for Interchange 6
VERSION
0.133
MANUAL
Please see the Interchange6 Schema Manual for an overview of available
documentation.
DESCRIPTION
Database schema classes for Interchange6 Open Source eCommerce
software.
The minimum Perl version for Interchange6::Schema is 5.8.
BASE CLASS
DBIx::Class::Schema::Config
If you inherit from Interchange6::Schema then in order to make use of
DBIx::Class::Schema::Config in your own schema you must load it as a
component.
COMPONENTS
Components used:
* DBIx::Class::Helper::Schema::DateTime
* DBIx::Class::Helper::Schema::QuoteNames
ATTRIBUTES
current_user
This attribute can be used to stash the
Interchange6::Schema::Result::User object of the currently logged in
user. If set then any result class and resultset methods which take
users_id as an argument will make use of the value of this attribute to
set users_id.
writer: set_current_user
user_locale
This attribute can be used to store the locale of the current user.
writer: set_user_locale
METHODS
deploy
Overload "deploy" in DBIx::Class::Schema in order to add some core
fixtures via Interchange6::Schema::Populate.
CREATE SQL FILES FOR DATABASE SCHEMA
This command creates SQL files for our database schema in the sql/
directory:
interchange6-create-database
POLICY FOR RELATIONSHIP ACCESSORS
All lower case
Singular names for belongs_to and has_one relationships
Pluralised names for many_to_many and has_many relationships
Use underscores for things like shipment_destinations.
AUTHORS
Stefan Hornburg (Racke), [email protected]
Peter Mottram, [email protected]
Jeff Boes, [email protected]
Sam Batschelet [email protected]
CONTRIBUTORS
Kaare Rasmussen Šimun Kodžoman Grega Pompe
LICENSE AND COPYRIGHT
Copyright 2013-2014 Stefan Hornburg (Racke), Jeff Boes.
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.