Displaying 20 results from an estimated 400 matches similar to: "db_schema_dump for SQL Server"
2006 Jun 26
1
Rake + SQL Server + Migrations == Errors. Help?!
Hello all,
I''m trying to initialize my migrations against a current database
implementation.
rake db:schema:dump runs without error.
The resulting schema.rb is pasted below, along with my database.yml
Can one of you point me in the direction of enlightenment?
--
------------------------------
Apple MacBook. Black. It''s the new White!
------------------------------
Peter
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
2005 Dec 15
2
Migrations on SQLServer ??
Hello all,
I''ve spent a while looking for a sniff of this on the wiki or google at
large..
Does migrations work for SQL Server on 1.0 ?
--
------------------------------
Joyeux Noël
------------------------------
Peter Fitzgibbons
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
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/.
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/.
2007 Apr 24
1
strange frozen string problem starting rails
hi,
I am experiencing a very strange problem with my Rails installation. I''m
using ruby 1.8.6 on Debian Linux, with edge rails.
Whenever I try to start mongrel, I get an exception about "can''t modify
frozen string". I get a similar exception when I try to do "rake
db:migrate". In this case, the exception seems to pop up *after* the
migrations do succesfully
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
2017 Dec 01
1
Do we really need Solr commit as cronjob?
I am testing Solr FTS on dovecot. Read online that some suggested to run
cronjob commit every minute, and optimize once a day.
I am using Solr 7.1.0 and I see some configurations:
In /etc/default/solr.in.sh:
#SOLR_OPTS="$SOLR_OPTS -Dsolr.autoSoftCommit.maxTime=3000"
#SOLR_OPTS="$SOLR_OPTS -Dsolr.autoCommit.maxTime=60000"
Also in solrconfig.xml:
??? <autoCommit>
2008 Dec 05
2
Asterisk h323 module
Hello!
I have a problem with build astersik-addons-1.4.7 on Solaris 10. When I
tried to do "make" I got such error:
*
chan_ooh323.c: In function `reload_config':
chan_ooh323.c:2053: error: `IPTOS_MINCOST' undeclared (first use in this
function)
chan_ooh323.c:2053: error: (Each undeclared identifier is reported only once
chan_ooh323.c:2053: error: for each function it appears
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all,
Rails 1.0.0
created_on is being set to 2000/01/01 00:00:00
Any ideas on this ?
Thanks!
Schema is
create table user_login_history (
id int identity(1,1) not null,
user_id int not null,
created_on datetime default(getdate()) not null,
created_at datetime default(getdate()) not null,
updated_on datetime default(getdate()) not null,
constraint pk_user_login_history primary key clustered
2006 Feb 23
2
ActiveRecords question
I need to turn off and on the autocommit in MySql is there a method in
active records that allows me to do this?
or
is there a method which allows me to type in the pure mysql code
"set autocommit=0"
Thanks.
--
Posted via http://www.ruby-forum.com/.
2019 Apr 14
0
Solr connection timeout hardwired to 60s
On 14/04/2019 17:16, Peter Mogensen via dovecot wrote:
> sorry... I got distracted half way and forgot to put a meaningfull
> subject so the archive could figure out the thread. - resending.
>
> On 4/14/19 4:04 PM, dovecot-request at dovecot.org wrote:
>
>>> Solr ships with autoCommit set to 15 seconds and openSearcher set to
>>> false on the autoCommit.? The
2011 Apr 07
2
Selecting data from list object
Hello Group,
Is there a simpler way to get data out of a list object? (like in data
frame without using the apply functions)
I have the following dataset
> dput(d)
list(c("20110405", "092102"), c("20110405", "092538"), c("20110405",
"093458"), c("20110405", "101124"), c("20110405", "102041"),
2006 Jun 10
1
How to check a date against today
I''m looking for a function which produces the current date
eg. if account.expiry_date < getdate
''getdate'' doesn''t seem to work.
anyone know what does?
--
Posted via http://www.ruby-forum.com/.
2004 Sep 01
1
NEWBIE: PWLIB Build Failure
Any got experience w/ PWLIB - sorry I know it's somewhat off topic...
I do not have a bison.simple file located on Fedora RC2...
But when make'ing PWLIB I get
../common/getdate.y:106:1: warning: "YYPURE" redefined
../common/getdate.tab.c:43:1: warning: this is the location of the previous
definition
Is it safe to continue or is this a bad build?
2018 Mar 05
1
Re: [enhancement] fts-solr low performance
>Hi,
>
>we have activated fts-solr about a week ago and immediately started to
>experience really *low* performance with MOVE and EXPUNGE commands.
>After several days of googling, tcpdumping and straceing i was able to
>find and resolve the problem.
>
>We are using Dovecot 2.2.27 from Debian Jessie (jessie-backports),
>which is doing a soft commit in solr after
2005 May 10
0
RODBC autocommit
How can I turn autocommit off using my RODBC connection to an Informix database?
I want to turn autocommit off, insert a thousand or so rows then commit.
I would appreciate any body's input on this.
2012 Oct 30
1
pass javascript date variable to rails controller as params
I have an application where jquery fullcalendar is implemented. On day
click I need to pass the selected date as params to rails controller.
When I alert the date inside dayclick function, I am getting the date in
the format of "Tue Oct 30 2012 12:40:20 GMT+0530 (IST)".. But when I
pass as params in jquery ajax to rails controller, it is passing blank.
How do I get it in rails