Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
84725807
Commit
84725807
authored
Sep 01, 2017
by
chenith
Committed by
Harsh Shah
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated client column names.
parent
dfe98ab4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
10 deletions
+15
-10
Client.xml
cmsWebApp/sql/Client.xml
+2
-2
Client.sql
cmsWebApp/sql/ms/Client.sql
+2
-2
Client.sql
cmsWebApp/sql/oracle/Client.sql
+2
-2
Client.sql
cmsWebApp/sql/postgres/Client.sql
+2
-2
BaseClient.java
cmsWebApp/src/performa/orm/BaseClient.java
+0
-0
Client.xml
cmsWebApp/src/performa/orm/Client.xml
+2
-2
ClientPersistenceMgr.java
cmsWebApp/src/performa/orm/ClientPersistenceMgr.java
+0
-0
20170901_Alter_Client.sql
...ot/extensions/performa/upgrades/20170901_Alter_Client.sql
+5
-0
No files found.
cmsWebApp/sql/Client.xml
View file @
84725807
...
...
@@ -8,8 +8,8 @@
<column
name=
"object_id"
type=
"Long"
nullable=
"false"
length=
"11"
/>
<column
name=
"object_last_updated_date"
type=
"Date"
nullable=
"false"
length=
"22"
/>
<column
name=
"object_created_date"
type=
"Date"
nullable=
"false"
length=
"22"
/>
<column
name=
"c
ompany
_name"
type=
"String"
nullable=
"false"
length=
"100"
/>
<column
name=
"c
ompany
_logo"
type=
"BLOB"
nullable=
"true"
/>
<column
name=
"c
lient
_name"
type=
"String"
nullable=
"false"
length=
"100"
/>
<column
name=
"c
lient
_logo"
type=
"BLOB"
nullable=
"true"
/>
<column
name=
"email"
type=
"String"
nullable=
"true"
length=
"100"
/>
<column
name=
"contact_name"
type=
"String"
nullable=
"true"
length=
"100"
/>
<column
name=
"contact_surname"
type=
"String"
nullable=
"true"
length=
"100"
/>
...
...
cmsWebApp/sql/ms/Client.sql
View file @
84725807
...
...
@@ -8,8 +8,8 @@ CREATE TABLE tl_client (
object_last_updated_date
datetime
DEFAULT
getdate
()
NOT
NULL
,
object_created_date
datetime
DEFAULT
getdate
()
NOT
NULL
,
c
ompany
_name
varchar
(
100
)
NOT
NULL
,
c
ompany
_logo
image
NULL
,
c
lient
_name
varchar
(
100
)
NOT
NULL
,
c
lient
_logo
image
NULL
,
email
varchar
(
100
)
NULL
,
contact_name
varchar
(
100
)
NULL
,
contact_surname
varchar
(
100
)
NULL
,
...
...
cmsWebApp/sql/oracle/Client.sql
View file @
84725807
...
...
@@ -9,8 +9,8 @@ CREATE TABLE tl_client (
object_last_updated_date
date
DEFAULT
SYSDATE
NOT
NULL
,
object_created_date
date
DEFAULT
SYSDATE
NOT
NULL
,
c
ompany
_name
varchar2
(
100
)
NOT
NULL
,
c
ompany
_logo
blob
NULL
,
c
lient
_name
varchar2
(
100
)
NOT
NULL
,
c
lient
_logo
blob
NULL
,
email
varchar2
(
100
)
NULL
,
contact_name
varchar2
(
100
)
NULL
,
contact_surname
varchar2
(
100
)
NULL
,
...
...
cmsWebApp/sql/postgres/Client.sql
View file @
84725807
...
...
@@ -9,8 +9,8 @@ CREATE TABLE tl_client (
object_last_updated_date
timestamp
DEFAULT
NOW
()
NOT
NULL
,
object_created_date
timestamp
DEFAULT
NOW
()
NOT
NULL
,
c
ompany
_name
varchar
(
100
)
NOT
NULL
,
c
ompany
_logo
bytea
NULL
,
c
lient
_name
varchar
(
100
)
NOT
NULL
,
c
lient
_logo
bytea
NULL
,
email
varchar
(
100
)
NULL
,
contact_name
varchar
(
100
)
NULL
,
contact_surname
varchar
(
100
)
NULL
,
...
...
cmsWebApp/src/performa/orm/BaseClient.java
View file @
84725807
This diff is collapsed.
Click to expand it.
cmsWebApp/src/performa/orm/Client.xml
View file @
84725807
...
...
@@ -9,8 +9,8 @@
<TABLE
name=
"tl_client"
tablePrefix=
"object"
>
<ATTRIB
name=
"C
ompanyName"
type=
"String"
dbcol=
"company_name"
mandatory=
"true"
length=
"100"
/>
<ATTRIB
name=
"C
ompanyLogo"
type=
"BinaryContent"
dbcol=
"company_logo"
mandatory=
"false"
binaryHandler=
"loggedin"
attribHelper=
"BLOBAttributeHelper"
attribHelperInstance=
"BLOBAttributeHelper.INSTANCE"
/>
<ATTRIB
name=
"C
lientName"
type=
"String"
dbcol=
"client_name"
mandatory=
"true"
length=
"100"
/>
<ATTRIB
name=
"C
lientLogo"
type=
"BinaryContent"
dbcol=
"client_logo"
mandatory=
"false"
binaryHandler=
"loggedin"
attribHelper=
"BLOBAttributeHelper"
attribHelperInstance=
"BLOBAttributeHelper.INSTANCE"
/>
<ATTRIB
name=
"Email"
type=
"String"
dbcol=
"email"
mandatory=
"false"
length=
"100"
validators=
"Email"
/>
<ATTRIB
name=
"ContactName"
type=
"String"
dbcol=
"contact_name"
mandatory=
"false"
length=
"100"
/>
<ATTRIB
name=
"ContactSurname"
type=
"String"
dbcol=
"contact_surname"
mandatory=
"false"
length=
"100"
/>
...
...
cmsWebApp/src/performa/orm/ClientPersistenceMgr.java
View file @
84725807
This diff is collapsed.
Click to expand it.
cmsWebApp/webroot/extensions/performa/upgrades/20170901_Alter_Client.sql
0 → 100644
View file @
84725807
-- @AutoRun
ALTER
TABLE
tl_client
RENAME
COLUMN
company_name
TO
client_name
;
ALTER
TABLE
tl_client
RENAME
COLUMN
company_logo
TO
client_logo
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment