Last active
January 2, 2016 20:36
-
-
Save ryancutter/824dea28bd6662d18592 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db=# create table object_type (id bigint, parent_id bigint, label text, location text, direct_location boolean); | |
db=# select * from object_type; | |
id | parent_id | label | location | direct_location | |
-----+-----------+-------------+------------+----------------- | |
100 | 0 | book | main floor | t | |
101 | 100 | non-fiction | main floor | f | |
102 | 101 | history | main floor | f | |
103 | 102 | ww2 | main floor | t | |
104 | 101 | biography | 2nd floor | t | |
105 | 100 | fiction | main floor | t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment