-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker init script does not create any type #29
Comments
You need to apply migrations to have the schema pushed into the database. This should provide some guidance. Although, you should replace |
I did not had the time to try your migration guide, will do later today. |
The So to migrate to the new schema while retaining the old data you have to create a As long as you run That said |
I completely agree wit the idea of using migrations and I even like the migration flow, in production. In early dev phase the database is trash often and being able to rebuild it in one command seams necessary to me. If I cannot use the edgedb-bootstrap.d with esdl file, as it does not seams to work, how should I go about that ? |
Just do You can even keep |
I just tried the migration creation. Here is my new Dockerfile :
Then I enter
Which seams like I've put the esdl file in the wrong place but I can't find the right one anywhere in the documentation. |
While starting a new project I decide to use this database as I quiet like the idea and the features you added on top of postgreSQL. I try using your provided docker as I prefer my team to be able to start our whole stack by a simple
docker-compose up
but I cant get it to work.Here is the relevant part of the docker-compose :
The dockerfile :
And finally the esdl :
The container do start and everything seams ok but I cant get a request to work.
I use the official edgeDb cli to connect to my container and can execute requests. For example I can list all tables :
But, as you see, the Subscription type does not seams to have been created and I cant do any request on it :
Therefore I think there is a problem in your docker or maybe further inside, I dunno :(
The text was updated successfully, but these errors were encountered: