├── .gitignore ├── Makefile ├── db ├── deploy │ ├── postgrest │ │ ├── functions │ │ │ ├── get-current-account-id.sql │ │ │ └── register.sql │ │ ├── roles │ │ │ ├── account.sql │ │ │ └── anonymous.sql │ │ ├── schema.sql │ │ └── tables │ │ │ ├── account.sql │ │ │ └── private-logs.sql │ └── public │ │ └── extensions │ │ └── uuid-ossp.sql ├── revert │ ├── postgrest │ │ ├── functions │ │ │ ├── get-current-account-id.sql │ │ │ └── register.sql │ │ ├── roles │ │ │ ├── account.sql │ │ │ └── anonymous.sql │ │ ├── schema.sql │ │ └── tables │ │ │ ├── account.sql │ │ │ └── private-logs.sql │ └── public │ │ └── extensions │ │ └── uuid-ossp.sql ├── sqitch.conf ├── sqitch.plan └── verify │ ├── postgrest │ ├── functions │ │ ├── get-current-account-id.sql │ │ └── register.sql │ ├── roles │ │ ├── account.sql │ │ └── anonymous.sql │ ├── schema.sql │ └── tables │ │ ├── account.sql │ │ └── private-logs.sql │ └── public │ └── extensions │ └── uuid-ossp.sql └── test ├── .gitignore ├── LICENSE ├── Setup.hs ├── src └── Main.hs ├── stack.yaml └── test.cabal /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/Makefile -------------------------------------------------------------------------------- /db/deploy/postgrest/functions/get-current-account-id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/postgrest/functions/get-current-account-id.sql -------------------------------------------------------------------------------- /db/deploy/postgrest/functions/register.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/postgrest/functions/register.sql -------------------------------------------------------------------------------- /db/deploy/postgrest/roles/account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/postgrest/roles/account.sql -------------------------------------------------------------------------------- /db/deploy/postgrest/roles/anonymous.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/postgrest/roles/anonymous.sql -------------------------------------------------------------------------------- /db/deploy/postgrest/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/postgrest/schema.sql -------------------------------------------------------------------------------- /db/deploy/postgrest/tables/account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/postgrest/tables/account.sql -------------------------------------------------------------------------------- /db/deploy/postgrest/tables/private-logs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/postgrest/tables/private-logs.sql -------------------------------------------------------------------------------- /db/deploy/public/extensions/uuid-ossp.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/deploy/public/extensions/uuid-ossp.sql -------------------------------------------------------------------------------- /db/revert/postgrest/functions/get-current-account-id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/postgrest/functions/get-current-account-id.sql -------------------------------------------------------------------------------- /db/revert/postgrest/functions/register.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/postgrest/functions/register.sql -------------------------------------------------------------------------------- /db/revert/postgrest/roles/account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/postgrest/roles/account.sql -------------------------------------------------------------------------------- /db/revert/postgrest/roles/anonymous.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/postgrest/roles/anonymous.sql -------------------------------------------------------------------------------- /db/revert/postgrest/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/postgrest/schema.sql -------------------------------------------------------------------------------- /db/revert/postgrest/tables/account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/postgrest/tables/account.sql -------------------------------------------------------------------------------- /db/revert/postgrest/tables/private-logs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/postgrest/tables/private-logs.sql -------------------------------------------------------------------------------- /db/revert/public/extensions/uuid-ossp.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/revert/public/extensions/uuid-ossp.sql -------------------------------------------------------------------------------- /db/sqitch.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/sqitch.conf -------------------------------------------------------------------------------- /db/sqitch.plan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/sqitch.plan -------------------------------------------------------------------------------- /db/verify/postgrest/functions/get-current-account-id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/postgrest/functions/get-current-account-id.sql -------------------------------------------------------------------------------- /db/verify/postgrest/functions/register.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/postgrest/functions/register.sql -------------------------------------------------------------------------------- /db/verify/postgrest/roles/account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/postgrest/roles/account.sql -------------------------------------------------------------------------------- /db/verify/postgrest/roles/anonymous.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/postgrest/roles/anonymous.sql -------------------------------------------------------------------------------- /db/verify/postgrest/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/postgrest/schema.sql -------------------------------------------------------------------------------- /db/verify/postgrest/tables/account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/postgrest/tables/account.sql -------------------------------------------------------------------------------- /db/verify/postgrest/tables/private-logs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/postgrest/tables/private-logs.sql -------------------------------------------------------------------------------- /db/verify/public/extensions/uuid-ossp.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/db/verify/public/extensions/uuid-ossp.sql -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/test/.gitignore -------------------------------------------------------------------------------- /test/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/test/LICENSE -------------------------------------------------------------------------------- /test/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /test/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/test/src/Main.hs -------------------------------------------------------------------------------- /test/stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/test/stack.yaml -------------------------------------------------------------------------------- /test/test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SMRxT/postgrest-demo/HEAD/test/test.cabal --------------------------------------------------------------------------------