similar to: quickly convert SQL DDL -> Migration

Displaying 20 results from an estimated 10000 matches similar to: "quickly convert SQL DDL -> Migration"

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
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
2006 Aug 17
0
OCI.DDL (module could not be loaded)
Hi guys, I had a problem in connecting oracle DB through ROR application. It says OCI.DDL (module could not be loaded) while running the webrick server. I have installed the ruby-oci-0.1.13-mswin.rb.While searching in net I found saying to copy OCI.DDL in system32 folder but Still i faced the same problem of not able to start the webrick server. Can anyone help me out to give me a
2019 Mar 05
0
How to post a device dump to the DDL?
Daniele, thank you.See attached file.Yuri -------- Исходное сообщение --------От: Daniele Pezzini <hyouko at gmail.com> Дата: 05.03.2019 3:09 (GMT+03:00) Кому: "Yuri V. Mednitski" <ranger at ranger.ru> Копия: nut-upsuser at alioth-lists.debian.net Тема: Re: [Nut-upsuser] How to post a device dump to the DDL? Either open a pull request on our GitHub
2006 Jan 19
0
db_schema_dump for SQL Server
We''re using migrations to manage a SQL Server project and have been running into a number of issues with db_schema_dump/migrations. Can anyone confirm that these are actual issues with the SQL Server adapter and not issues with me :) 1) Fields are not properly setup with proper null settings (:null => true / false). I''m wondering if we need to update the def columns method
2006 Apr 02
0
Wrapping DDL changes in transactions ?
Hi ! Which database drivers support wrapping DDL changes in transactions ? Something like this: def self.up ActiveRecord::Base.transaction do create_table(...) end end I know for certain MySQL does not. I believe PostgreSQL does. What about the other database adapaters ? Can anyone confirm/deny my claims ? Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/
2005 Dec 22
2
help me understand migrations movie
I''m somewhat of a newbie - played with recent versions of rails a few mths ago, but have decided to start from scratch with 1.0. I want to build my new db as much as possible with migrations, so I watched DHH''s migrations movie from rubyonrails.org. A few things confuse me: 1. He generates the model ("post") before running rake db_schema_dump. Is that necessary or
2005 Dec 17
4
Rake migrate and creating join tables
Just wondering if there''s a way to use migrations to generate join tables (where the table columns comprise only of foreign keys to other tables, and where the primary key is all the foreign keys taken together). I made the changes manually in MySQL, then did rake db_schema_dump and it gave something like this: create_table "apples_oranges", :id => false, :force
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 Jul 26
0
Generation SQL from Migrations
Anyone here able to generate the DDL SQL for performing migrations w/ out actually modifying the DB schema? As part of our process, we''d like to be able to write the migrations and produce the DDL and then have our data services folks verify and make changes according to naming conventions, etc. Aside from grabbing the SQL migration log following a "live" migration - I
2006 Jan 19
3
problems with migrations in sql server
Is anyone using migrations with a SQL Server database who might be able to lend me a hand? I''ve used migrations with MySql in the past and haven''t run into any issues so forgive When I run rake migrate nothing is actually getting updated in my database. I created a migration using ./script/generate migration AddFooTable and updated the migration to look as follows: class
2017 Mar 03
0
NUT - General Concept Question
On Mar 2, 2017, at 1:46 PM, Garrett Michael Hayes <Garrett at VerbalImaging.com> wrote: > > I would like to set up a Linux host as a central monitoring system for UPSs throughout our network. I?d like that system to be able to see the various UPSs basically in one of two ways: > 1) Tapping into a native network interface on the target UPS (such as some larger APC and
2019 Mar 04
1
How to post a device dump to the DDL?
Hi!I have a device dump from my Inelt UPS. I want to post it in the Device Dump Library. But I can not figure out how to do it. Google also did not help me.Can anyone point me the right way?Yuri. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20190304/55da7065/attachment.html>
2006 May 23
0
rake db_schema_dump failure
Anyone know why "rake db_schema_dump" would produce the following error: rake aborted! Don''t know how to build task ''db_schema_dump'' (See full trace by running task with --trace) Otherwise, my migrations work fine. -- Posted via http://www.ruby-forum.com/.
2005 Dec 18
3
automatically generate migration from db/SQL?
Hi, I''d like to use migrations to build my initial database. Is there a gem or plugin that will generate the migration code for initial db if I point it at a live database or sql file? If yes, then can you automatically generate the incremental migrations as well? Thanks, Jason
2006 Jul 10
1
Migration and foreign keys
Hi, I''m using the ''rake db_schema_dump'' command to clone the structure of the developement database into the test database. Unfortunatelly, the schema.rb file doesn''t contain any information about the foreign keys of the tables. For this reason all the test that concern about the relations are not working has suposed. Is this a limitation of Rails or am I
2006 Apr 26
1
rake db_schema_dump make syntax error
rake migrate bug with datetime: > rake db_schema_dump produced a bad schema.rb that isn''t valid ruby, it has an invalid default, unless ruby takes bare words: t.column "date_available", :datetime, :default => Sun Jan 01 00:00:00 Arabic Standard Time 2006, :null => false I don''t think the Baghdad time zone should matter. ruby 1.8.4, rails 1.1.2,
2008 Feb 28
1
rake aborted! Don't know how to build task 'db_schema_dump'
Oh noes! What do I do? Just installed RoR and SQLite3 yesterday, watched a screencast that said the db_schema_dump will slaughter my enemies and make my poop smell like rainbows. Now I get rake telling me that it doesn''t know how to. Any help? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Feb 01
0
rake db_schema_dump: Dump the data too?
Hi all I''d like to dump also my data with rake db_schema_dump. Is there a way to do this? Thanks Josh -- Posted via http://www.ruby-forum.com/.
2005 Dec 14
3
Migrations bug with Rails 1.0, PostgreSQL 8.1?
Filed a ticket for bogus Ruby produced via: rake db_schema_dump http://dev.rubyonrails.org/ticket/3232 I''d appreciate it if someone could verify against PostgreSQL 8.0.x -- -- Tom Mornini