hello All
I recently downloaded a sample RoR project and tried to execute rake
db:migrate. only one table got created. but i noticed one xml file in
db folder.
it has whole database structure. i mean tables, data and all that. but
i dont know how to convert that xml file into mysql database.
following is the sample code from that file:
<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
<clay-model clay-version="1.2.0">
<database-model alias="" author=""
begin-script="" end-script=""
name="sansplans_simple" remarks="" sql-dialect-
id="jp.azzurri.clay.model.physical.dialect.MySQL_4_0_Dialect"
version="1.0">
<database-model-description/>
<schema-list>
<schema alias="" name="DEFAULT_SCHEMA"
remarks="">
<schema-description/>
<domain-list/>
<table-list>
<table alias="" name="users" remarks="">
<table-description/>
<table-figure-bounds height="-1" width="-1"
x="283" y="32"/>
<column-list>
<column alias="" auto-increment="true"
column-size="11" decimal-
digits="0" default-value="" mandatory="true"
name="id" remarks="">
<column-description/>
<data-type jdbc-type="4" name="INT" selected-variant-
pattern="INT(%n)">
please advice
Ajit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---