File tree Expand file tree Collapse file tree 3 files changed +24
-10
lines changed
src/administrator/components/com_ccm Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 1111 <install >
1212 <sql >
1313 <file driver =" mysql" charset =" utf8" >sql/install.mysql.utf8.sql</file >
14+ <file driver =" postgresql" charset =" utf8" >sql/install.postgresql.utf8.sql</file >
1415 </sql >
1516 </install >
1617 <uninstall >
1718 <sql >
1819 <file driver =" mysql" charset =" utf8" >sql/uninstall.mysql.utf8.sql</file >
20+ <file driver =" postgresql" charset =" utf8" >sql/uninstall.postgresql.utf8.sql</file >
1921 </sql >
2022 </uninstall >
21- <update >
22- <sql >
23- <file driver =" mysql" charset =" utf8" >sql/updates/mysql/1.0.1.sql</file >
24- </sql >
25- </update >
26- <api >
27- <files folder =" api/components/com_ccm" >
28- <folder >src</folder >
29- </files >
30- </api >
3123 <administration >
3224 <files >
3325 <folder >services</folder >
Original file line number Diff line number Diff line change 1+ --
2+ -- Table structure for table #__ccm_cms
3+ --
4+
5+ CREATE TABLE IF NOT EXISTS " #__ccm_cms" (
6+ " id" serial NOT NULL ,
7+ " name" varchar (100 ) DEFAULT ' ' NOT NULL ,
8+ " url" varchar (255 ) DEFAULT ' ' NOT NULL ,
9+ " credentials" varchar (255 ) DEFAULT NULL ,
10+ " content_keys_types" json DEFAULT NULL ,
11+ " ccm_mapping" json DEFAULT NULL ,
12+ " created" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ,
13+ " modified" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ,
14+ PRIMARY KEY (" id" )
15+ );
16+
17+ -- Inserting initial data for table #__ccm_cms
18+ INSERT INTO " #__ccm_cms" (" id" , " name" ) VALUES
19+ (1 , ' Joomla' ),
20+ (2 , ' WordPress' );
Original file line number Diff line number Diff line change 1+ DROP TABLE IF EXISTS " #__ccm_cms" ;
2+
You can’t perform that action at this time.
0 commit comments