Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Initial seeds disappears after running the seed:migrate #53

Closed
suthanbala opened this issue Mar 13, 2017 · 2 comments
Closed

Initial seeds disappears after running the seed:migrate #53

suthanbala opened this issue Mar 13, 2017 · 2 comments

Comments

@suthanbala
Copy link

Issue

  • Initial seeds are contained in the seeds.rb. The code were contained inside the ActiveRecord::Base.transaction do and end
  • When ran the rake seed:migrate, it did the migration, it added the timestamp like the following SeedMigration::Migrator.bootstrap(20170309193307). However, it has removed all the seed code from the file. There were no reference to these initial contents anymore.
  • When I try to run the rake db:reset, then rake seed:migrate, the it doesn't pull the data back anymore.
@pjambet pjambet added the bug label Jun 14, 2017
@pjambet
Copy link
Contributor

pjambet commented Jun 14, 2017

Hi,

Sorry for the late reply, I don't exactly know what I changed but I apparently muted the notifications from this repo by mistake and didn't notice new issues opened in the last 6 months. Sorry about that.

Thanks for the bug report. I don't have a lot of time so I doubt that I'll get a chance to work on a fix but feel free to open a PR. I'll happily review it.

@pboling
Copy link
Owner

pboling commented Feb 21, 2023

Closing in favor of #51

@pboling pboling closed this as completed Feb 21, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants