first commit
This commit is contained in:
18
administrator/components/com_jce/sql/mysql.sql
Normal file
18
administrator/components/com_jce/sql/mysql.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
CREATE TABLE IF NOT EXISTS `#__wf_profiles` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`description` text NOT NULL,
|
||||
`users` text NOT NULL,
|
||||
`types` text NOT NULL,
|
||||
`components` text NOT NULL,
|
||||
`area` tinyint(3) NOT NULL,
|
||||
`device` varchar(255) NOT NULL,
|
||||
`rows` text NOT NULL,
|
||||
`plugins` text NOT NULL,
|
||||
`published` tinyint(3) NOT NULL,
|
||||
`ordering` int(11) NOT NULL,
|
||||
`checked_out` int unsigned,
|
||||
`checked_out_time` datetime NULL DEFAULT NULL,
|
||||
`params` text NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
18
administrator/components/com_jce/sql/postgresql.sql
Normal file
18
administrator/components/com_jce/sql/postgresql.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
CREATE TABLE IF NOT EXISTS "#__wf_profiles" (
|
||||
"id" serial NOT NULL,
|
||||
"name" character varying(255) NOT NULL,
|
||||
"description" text NOT NULL,
|
||||
"users" text NOT NULL,
|
||||
"types" text NOT NULL,
|
||||
"components" text NOT NULL,
|
||||
"area" smallint NOT NULL,
|
||||
"device" character varying(255) NOT NULL,
|
||||
"rows" text NOT NULL,
|
||||
"plugins" text NOT NULL,
|
||||
"published" smallint NOT NULL,
|
||||
"ordering" integer NOT NULL,
|
||||
"checked_out" integer NOT NULL,
|
||||
"checked_out_time" timestamp without time zone NOT NULL,
|
||||
"params" text NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
24
administrator/components/com_jce/sql/sqlsrv.sql
Normal file
24
administrator/components/com_jce/sql/sqlsrv.sql
Normal file
@@ -0,0 +1,24 @@
|
||||
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[#__wf_profiles]') AND type in (N'U'))
|
||||
BEGIN
|
||||
CREATE TABLE [#__wf_profiles](
|
||||
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
||||
[name] [nvarchar](250) NOT NULL,
|
||||
[description] [text] NOT NULL,
|
||||
[users] [text] NOT NULL,
|
||||
[types] [text] NOT NULL,
|
||||
[components] [nvarchar](max) NOT NULL,
|
||||
[area] [smallint] NOT NULL,
|
||||
[device] [nvarchar](250) NOT NULL,
|
||||
[rows] [nvarchar](max) NOT NULL,
|
||||
[plugins] [nvarchar](max) NOT NULL,
|
||||
[published] [smallint] NOT NULL,
|
||||
[ordering] [int] NOT NULL,
|
||||
[checked_out] [int] NOT NULL,
|
||||
[checked_out_time] [datetime] NOT NULL,
|
||||
[params] [nvarchar](max) NOT NULL,
|
||||
CONSTRAINT [PK_#__wf_profiles_id] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[id] ASC
|
||||
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF)
|
||||
)
|
||||
END;
|
||||
Reference in New Issue
Block a user