]> gitweb.factorcode.org Git - factor.git/commitdiff
native-id -> db-assigned-id
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 28 Apr 2008 22:38:12 +0000 (17:38 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 28 Apr 2008 22:38:12 +0000 (17:38 -0500)
extra/http/server/sessions/storage/db/db.factor
extra/semantic-db/semantic-db.factor
extra/webapps/pastebin/pastebin.factor
extra/webapps/planet/planet.factor
extra/webapps/todo/todo.factor

index 58a0130b368f3655a9be03b9b2eae1b798272ae6..0d8ad84985629144d6605c07b394c1a2365b8505 100755 (executable)
@@ -10,7 +10,7 @@ SINGLETON: sessions-in-db
 session "SESSIONS"
 {
     ! { "id" "ID" +random-id+ system-random-generator }
-    { "id" "ID" INTEGER +native-id+ }
+    { "id" "ID" INTEGER +db-assigned-id+ }
     { "expires" "EXPIRES" BIG-INTEGER +not-null+ }
     { "namespace" "NAMESPACE" FACTOR-BLOB }
 } define-persistent
index 279ebcf922adf03524f328531ae02722983d6ffc..4591f6bf08c996fe4b2beea463c5ce0c75379428 100755 (executable)
@@ -12,7 +12,7 @@ TUPLE: node id content ;
 
 node "node"
 {
-    { "id" "id" +native-id+ +autoincrement+ }
+    { "id" "id" +db-assigned-id+ +autoincrement+ }
     { "content" "content" TEXT }
 } define-persistent
 
index 9301b143536a287cebb9e6c0b1b4d0215b3757fb..616da67eee71f1e57b8a9fe409e2c29116113f87 100644 (file)
@@ -24,7 +24,7 @@ TUPLE: paste id summary author mode date contents annotations captcha ;
 
 paste "PASTE"
 {
-    { "id" "ID" INTEGER +native-id+ }
+    { "id" "ID" INTEGER +db-assigned-id+ }
     { "summary" "SUMMARY" { VARCHAR 256 } +not-null+ }
     { "author" "AUTHOR" { VARCHAR 256 } +not-null+ }
     { "mode" "MODE" { VARCHAR 256 } +not-null+ }
@@ -43,7 +43,7 @@ TUPLE: annotation aid id summary author mode contents date captcha ;
 
 annotation "ANNOTATION"
 {
-    { "aid" "AID" INTEGER +native-id+ }
+    { "aid" "AID" INTEGER +db-assigned-id+ }
     { "id" "ID" INTEGER +not-null+ }
     { "summary" "SUMMARY" { VARCHAR 256 } +not-null+ }
     { "author" "AUTHOR" { VARCHAR 256 } +not-null+ }
index 0e9601461cde27571583ea69fff002c92c09a6e3..d3260e1c70772326f23c5658bbef5e07da97b3df 100755 (executable)
@@ -27,7 +27,7 @@ M: blog link-href www-url>> ;
 
 blog "BLOGS"
 {
-    { "id" "ID" INTEGER +native-id+ }
+    { "id" "ID" INTEGER +db-assigned-id+ }
     { "name" "NAME" { VARCHAR 256 } +not-null+ }
     { "www-url" "WWWURL" { VARCHAR 256 } +not-null+ }
     { "feed-url" "FEEDURL" { VARCHAR 256 } +not-null+ }
index 5c60b37f8277128a4b6fcf89ff3ab1abc7c472d7..d04c8d97bd67270d305152659a9b1e62458aa688 100755 (executable)
@@ -15,7 +15,7 @@ TUPLE: todo uid id priority summary description ;
 todo "TODO"
 {
     { "uid" "UID" { VARCHAR 256 } +not-null+ }
-    { "id" "ID" +native-id+ }
+    { "id" "ID" +db-assigned-id+ }
     { "priority" "PRIORITY" INTEGER +not-null+ }
     { "summary" "SUMMARY" { VARCHAR 256 } +not-null+ }
     { "description" "DESCRIPTION" { VARCHAR 256 } }