summaryrefslogtreecommitdiff
path: root/packages/fcl-web/examples/combined/combined.sql
diff options
context:
space:
mode:
authormichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-04-10 17:59:36 +0000
committermichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-04-10 17:59:36 +0000
commit8ce31f58a7ecd8fb88467b834121e1e25bd28cce (patch)
tree9edfbc4e4804f4f2e588c798ca3b494933cb14e5 /packages/fcl-web/examples/combined/combined.sql
parent0f56acc55d0b64dbece40704545b575df1dd2b9a (diff)
downloadfpc-8ce31f58a7ecd8fb88467b834121e1e25bd28cce.tar.gz
* Added combined example: login using RPC and edit data using FPWebdata
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@17283 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-web/examples/combined/combined.sql')
-rw-r--r--packages/fcl-web/examples/combined/combined.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/fcl-web/examples/combined/combined.sql b/packages/fcl-web/examples/combined/combined.sql
new file mode 100644
index 0000000000..e5b4c595aa
--- /dev/null
+++ b/packages/fcl-web/examples/combined/combined.sql
@@ -0,0 +1,11 @@
+CREATE TABLE USERS (
+ U_ID BIGINT NOT NULL,
+ U_LOGIN VARCHAR(40) NOT NULL,
+ U_NAME VARCHAR(30) NOT NULL,
+ U_EMAIL VARCHAR(100),
+ U_PASSWORD VARCHAR(100) NOT NULL,
+ CONSTRAINT PK_FPCUSERS PRIMARY KEY (U_ID),
+ CONSTRAINT U_USERNAME UNIQUE (U_LOGIN)
+);
+
+ \ No newline at end of file