Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
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
PSDI Army
yii2
Commits
18218c41
Commit
18218c41
authored
Jun 01, 2013
by
Gevik Babakhani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused columns.
parent
5a380360
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
postgres.sql
tests/unit/data/postgres.sql
+1
-14
No files found.
tests/unit/data/postgres.sql
View file @
18218c41
...
@@ -11,25 +11,12 @@ DROP TABLE IF EXISTS tbl_category CASCADE;
...
@@ -11,25 +11,12 @@ DROP TABLE IF EXISTS tbl_category CASCADE;
DROP
TABLE
IF
EXISTS
tbl_customer
CASCADE
;
DROP
TABLE
IF
EXISTS
tbl_customer
CASCADE
;
DROP
TABLE
IF
EXISTS
tbl_type
CASCADE
;
DROP
TABLE
IF
EXISTS
tbl_type
CASCADE
;
drop
type
if
exists
fullname
cascade
;
create
type
fullname
as
(
firstname
varchar
,
lastname
varchar
);
drop
type
if
exists
mood
cascade
;
create
type
mood
as
enum
(
'sad'
,
'ok'
,
'happy'
,
E
'own
\'
s'
,
E
'
\"
quoted
\"
'
);
CREATE
TABLE
tbl_customer
(
CREATE
TABLE
tbl_customer
(
id
serial
not
null
primary
key
,
id
serial
not
null
primary
key
,
email
varchar
(
128
)
NOT
NULL
,
email
varchar
(
128
)
NOT
NULL
,
name
varchar
(
128
)
NOT
NULL
,
name
varchar
(
128
)
NOT
NULL
,
age
numeric
(
3
),
zipcode
varchar
(
6
),
address
text
,
address
text
,
status
integer
DEFAULT
0
,
status
integer
DEFAULT
0
fullname
fullname
,
mood
mood
,
numbers
integer
[],
amount
numeric
(
6
,
4
)
);
);
comment
on
column
public
.
tbl_customer
.
email
is
'someone@example.com'
;
comment
on
column
public
.
tbl_customer
.
email
is
'someone@example.com'
;
...
...
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