similar to: Generation SQL from Migrations

Displaying 20 results from an estimated 9000 matches similar to: "Generation SQL from Migrations"

2006 Jun 16
0
WebObjects Development training
?bermind, Inc., a leading developer of enterprise level applications, announces it''s WebObjects I Development course. This five day course offers an intensive look into designing, building and deploying Web applications using Apple''s WebObjects technology. Based on over a decade of professional consulting on WebObjects projects - for clients from Apple to the U.S.
2006 Jun 07
2
Specifying a Form name using start_/form_tag
Hey all. I''m trying use the form tag(s) to create a named / id''d form. I.e., I need to use JS to access the form via the DOM and submit it - support for a reusable navigation component which will persist app state on each jump. However, from reading the form_tag APIs and searching google, I don''t see where either :name or :id is an option which can be passed
2002 Jun 10
2
[Fwd: ldap + pdc + adding win2k clients...again(sigh)...argh]
hi ! i have a problem with ldap+pdc too, and since no one answered ingo's request, i will try again. this is my setting: i want to maintain a central authentification for my small but mixed (debian/linux vs w2k) network i am using debian:samba-2.2.3a; compiled it with ldapsam enabled. i am using openldap2-2.0.23; compiled it with TLS enabled simple file-sharing works (at least, none of my
2006 May 22
1
New to rails, looking for some advice re: migrations
I''m trying to get started with Rails, but I''m running into a few places where I''m having trouble understanding the expected workflow. I''m trying to work with migrations from the beginner; its a port of an existing application, but I''d like to let the db schema evolve as the application grows, so I''m starting from an empty (tableless) database.
2006 Jul 10
2
Problem with migrations, postgresql, AWDwR
Hi all, Rails 1.1.4 Rake 0.7.1 PostgreSQL 8.1.4 Windows XP Pro I checked for errata on pragmaticprogrammer.com, but didn''t see any explicit mention of this issue. I''m going over the depot example in AWDwR, 2nd ed, and I can''t get the migration to work on p. 82. Specifically, the AddTestData example (with reduced description text to save my fingers some typing):
2005 Dec 12
2
count sql failing with unknown table....
Hey Rails People, I''m doing my first Rails app and I''m having a newbie problem with the count method.... Mysql::Error: #42S02Unknown table ''jobs_sectors'' in where clause: SELECT COUNT(*) FROM jobs WHERE (jobs_sectors.sector_id = 1 ) Extracted source (around line #4): 1: <div class="sectors"> 2: <ul> 3: <% for sector in @sectors
2006 Apr 17
0
quickly convert SQL DDL -> Migration
Has anybody heard of / written a tool/generator that quickly converts any SQL DDL into migration create_tabl tasks. i know i could just go the way of creating the tables and then do a rake db_schema_dump, but since this is something i do continuously i would like to find a quicker route. Thanks Sebastian
2006 Jul 16
4
migrations questions: MySQL -> postgreSQL
I started my app before migrations were a best practice and have been using SQL scripts. Now I''m looking at potentially having to move from using MySQL to postgreSQL to use a particular hosting provider. I understand migrations are the way to go to make this ''easy'' but it also looks like the use of migrations introduces extra work in other areas. I''d really
2006 May 10
6
Migrations don''t really support transactions
I read in various places that although migrations aren''t transactional, all you need to do is wrap you migration method in "ActiveRecord:: Base.connection.transaction do" to make the self.up or self.down transactional. In my experience (Rails + PostgreSQL), this doesn''t work very well. If my migration hits an exception, any tables that were touched remain modified.
2006 Mar 01
5
single transaction migrations
Hi! It seems that migration doesn''t use single transcation to execute the needed migrations for the database upgrade, so if I have database at version 5, and I wrote some migrations 6..10, and error occurs while executing migration 7, the database stays in state 6? I also think that migration taks could use some more verbosity, for example if migration fails, there''s no
2009 Jun 12
1
R and Sound
Hello, I recently have started to learn about R, and am interested in using it to generate data that would then get used to produce audio. Basically, I am "envisioning" using R to create the data, based on probability functions (and fractal data), which then gets output as a text data file, and then processed by CSound to produce the finished audio. My interests are based on some of
2006 Jan 06
4
Are migrations executed within a transaction?
Hi all, Can I safely assume that each migration is excuted within a transaction, so that''s it''s safe to have migrations executing failing statements? Thanks, - Rowan -- Morality is usually taught by the immoral.
2014 Aug 10
2
Merging the DDL branch in nut-website
Hi Daniele and Arnaud, While tracking down the Cyber Power voltage scaling issue, I found the DDL repository extremely helpful. Instead of searching across all of the old mailing list posts, I was able to run 'git grep' in the Cyber Power directory, and the consistency of the data made it an easy task. I had a motherboard failure on my main computer, and I was trying to recreate the
2014 Aug 10
0
Merging the DDL branch in nut-website
> Is this the current layout? > > nut-website (branch: dll-hll) > \__ nut submodule (branch: master) > \__ ddl submodule (branch unknown?) nut-website (branch: dll-hll) \__ nut submodule (branch: master @ abc0006 [not updated to avoid conflicts when merging back to master]) \__ ddl submodule (branch: master @ bbfd79f; now updated to ab6166c) > The "ddl" branch
2006 Aug 17
3
Migrations for migrating data across databases - is it possible?
Hi All I am trying to understand if I can use migrations to migrate data under the following conditions 1. Across 2 different databases (Oracle/DB2) with same schemas. 2. Across 2 different databases (Oracle/DB2) with different schemas. I am trying to avoid writing DBI/OCI8 scripts. Can somone please shed some light if this is even possible? thanks -daya -------------- next part
2006 Sep 04
8
ActiveRecord-JDBC is coming along
The ActiveRecord-JDBC adapter is rapidly maturing these days. I got the full set of AWDwR2 migrations to run with it against MySQL last night, and Ola Bini has gotten migrations working well against Oracle and Firebird. We also have SQL Server support running most of our test cases (under non-Windows environments too!) and have started adding support for Derby and HSQLDB (Java-based DBs). Things
2006 May 17
10
HABTM << producing incorrect insert sql ?
Greetings railsers - I''m trying to add to a collection through HABTM, but the sql insert is trying to insert a PK rather than letting mysql produce the auto_increment''ed PK. ## @medication_dose holds a validated, saved model @medication_dose.medication_frequencies << MedicationFrequency.find (:all) The above bails with, Mysql::Error: #23000Duplicate
2020 Mar 26
0
thoughts on tripp lite Smart Online UPSs?
On Mar 25, 2020, at 6:09 PM, Lee Damon <nomad at ee.washington.edu> wrote: > > I have no experience with Tripp Lite UPSs and the reviews I've found online are scant and fairly mixed so I thought I'd ask here... It's always hard to get a good read on whether a particular UPS brand is problematic, or if there is more noise on the lists because people are trying to make
2022 Feb 05
0
NUT website update, and plans for 2.7.5 release
Hello all, Somewhat in relation to FOSDEM as a nice point on the calendar, and largely to address the lags we've had with publication of HCL and DDL information, and also as a side project of preparing for a new release (that should better list the currently known compatible hardware), the NUT website generation approach was changed. For the past years, https://networkupstools.org/ served
2022 Feb 05
0
NUT website update, and plans for 2.7.5 release
Hello all, Somewhat in relation to FOSDEM as a nice point on the calendar, and largely to address the lags we've had with publication of HCL and DDL information, and also as a side project of preparing for a new release (that should better list the currently known compatible hardware), the NUT website generation approach was changed. For the past years, https://networkupstools.org/ served