GithubHelp home page GithubHelp logo

postgres about rails_workflow HOT 10 CLOSED

madzhuga avatar madzhuga commented on June 7, 2024
postgres

from rails_workflow.

Comments (10)

madzhuga avatar madzhuga commented on June 7, 2024

@wernerlaude I will check today. Btw why do you use 0.3.1? Latest version is 0.3.7. I may be wrong but I think there was some dependencies removed after 0.3.1.

from rails_workflow.

wernerlaude avatar wernerlaude commented on June 7, 2024

Hi Maxim.

I first took this version as it is mentioned in your git repo.
Now I changed over to 0.3.7,
brew install postgres
initialized with mysql and got an error missing
gem 'responders', '~> 2.0'
after bundling that I got it working..

Thanks so far..
Just to have a check it out would be great to just need a sqlite.. or so..

Anyway, it looks great.

Werner

Am 15.03.2016 um 11:57 schrieb Maxim Madzhuga [email protected]:

@wernerlaude https://github.com/wernerlaude I will check today. Btw why do you use 0.3.1? Latest version is 0.3.7. I may be wrong but I think there was some dependencies removed after 0.3.1.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#17 (comment) #17 (comment)

Werner Laude - Ruby on Rails/WebDevelopment - München
[email protected] mailto:[email protected] | +49 178 135 34 39 <tel:+49 178 135 34 39> | webagentur-laude.de http://www.webagentur-laude.de/

from rails_workflow.

madzhuga avatar madzhuga commented on June 7, 2024

@wernerlaude it will not work with sqlite out of the box - currently migrations creates too long names for indexes or something of that kind - sqlite don't like long names :)

from rails_workflow.

wernerlaude avatar wernerlaude commented on June 7, 2024

right.. I failed that too

as I am traumatized ;-| with postgres usability I prefer mysql...

Am 15.03.2016 um 12:12 schrieb Maxim Madzhuga [email protected]:

@wernerlaude https://github.com/wernerlaude it will not work with sqlite out of the box - currently migrations creates too long names for indexes or something of that kind - sqlite don't like long names :)


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#17 (comment) #17 (comment)

Werner Laude - Ruby on Rails/WebDevelopment - München
[email protected] mailto:[email protected] | +49 178 135 34 39 <tel:+49 178 135 34 39> | webagentur-laude.de http://www.webagentur-laude.de/

from rails_workflow.

ahukkanen avatar ahukkanen commented on June 7, 2024

+1 for the database intependent database abstraction. I don't think the workflow system has any particular feature relying on postgres or mysql, so it would be great if it installed on SQLite too.

@madzhuga I would also remove the specific version number in the README installation guide since I also installed 0.3.1 at first when following the guide.

Also had the same problem with the responders gem as Werner above, so that would be good to document too. Or add to the gemfile if it's required with postgres as well.

from rails_workflow.

madzhuga avatar madzhuga commented on June 7, 2024

@ahukkanen SQLite have no JSON support. JSON is used to store operations dependencies. Do you really planing to use SQLite as db for production application?

I will update README shortly.

from rails_workflow.

ahukkanen avatar ahukkanen commented on June 7, 2024

But it serializes the JSON data in case it's not supported, right? I haven't seen any direct queries using the JSON data, although haven't checked very deeply but it seemed the data would only be used directly in the JSON format.

Not really planning to use it in production but it would just make it simpler to install and try out locally. As I think the only problem seems to be the length of the index names. Eventhough, I wouldn't see it a problem using it even in production with some lower traffic services.

from rails_workflow.

madzhuga avatar madzhuga commented on June 7, 2024

@wernerlaude in the past I added option to select MySQL dialect
config.sql_dialect= 'mysql'
in configuration (you can find it's example in README.md)

from rails_workflow.

madzhuga avatar madzhuga commented on June 7, 2024

@ahukkanen I have no plans to support SQLite. I don't think any big application having business logic complex enough to use rails_workflow will work on SQLite. :)

from rails_workflow.

ahukkanen avatar ahukkanen commented on June 7, 2024

@madzhuga That's fair and understand the extra work for the benefit.

But regarding using SQLite in production, I think Airbus is quite big and their A350 uses SQLite. So if you're afraid of using it in "big production applications", I would not board that airplane. :)

from rails_workflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.