Closed jc00ke closed 6 years ago
Start by testing if those has_file()
calls return what you expect.
By the time it gets to this line schema
is set to db/structure.sql
db/structure.sql
is opened but there's no automatic navigation to the CREATE TABLE
line for the model name entered :Eschema user
.
That's not implemented. Report back on what the create table declarations look like for the big 3 databases look like and we can assess how feasible it would be to implement.
P.S. here's PostgreSQL, since I have it handy:
CREATE TABLE public.whatevers (
Just tried it out, works great, thank you! :tada:
The current project I'm working on uses a
structure.sql
file instead of aschema.rb
. Looks likeschemaEdit
already handles whenschema.rb
is missing andstructure.sql
is present, yet I get anE345 Can't find file /home/jesse/my/client/project/db/schema.rb
. I'm on 39cb87d.Happy to help debug. Thanks!