swiss_db 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f6dc466e5a73e0845b92c20c4f709a653a3c4a7
|
4
|
+
data.tar.gz: fa1188d6631c175e4e0c6fc8e4e0a8eeacca8609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d62c444464a318fc1a04ddcbacc661bd8559cbf7cf023980f243014f5fa51366674e8d31cc5c75b3ebde25f08bdec9f9d9d380cd53823103305fcd2c8ce7bd1
|
7
|
+
data.tar.gz: 6da9da95a0617dd1bc8a0c94b5a17405077f7710c399e5a76adfd8e3a6c3ddc4821ffe9230edfbb2399e00b29cff133ff95df7012043a12872e59c9dd5ceaf9a
|
data/README.md
CHANGED
@@ -24,7 +24,27 @@ Or install it yourself as:
|
|
24
24
|
|
25
25
|
Schemas are the exact same from CoreDataQuery and go in the same place. (schemas/)
|
26
26
|
|
27
|
-
|
27
|
+
```ruby
|
28
|
+
schema "0001" do
|
29
|
+
|
30
|
+
entity "Car" do
|
31
|
+
boolean :is_red
|
32
|
+
string :model
|
33
|
+
integer32 :tire_size
|
34
|
+
integer32 :tire_weight
|
35
|
+
integer32 :mileage
|
36
|
+
end
|
37
|
+
|
38
|
+
entity "Boat" do
|
39
|
+
string :name
|
40
|
+
integer32 :weight
|
41
|
+
double :worth_in_millions
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
Schema name (the "0001") does nothing.
|
28
48
|
|
29
49
|
# Models
|
30
50
|
|